git ssb

2+

mixmix / ticktack



Commit d57157b39f34790d26703746a8e99670a52ca85b

mutant resolve doesn't resolve each object property, so this code was just wrong before... @mixmix

Dominic Tarr committed on 12/8/2017, 6:58:02 AM
Parent: 26eb63b836af90470db4e83dd22d952a85c08061

Files changed

message/html/compose.jschanged
message/html/compose.jsView
@@ -142,12 +142,14 @@
142142 }
143143 return mention
144144 })
145145
146- var content = assign({}, resolve(meta), {
146+ var content = assign({}, meta, {
147147 text,
148148 mentions
149149 })
150+ for(var k in content)
151+ content[k] = resolve(content[k])
150152
151153 if (!content.channel) delete content.channel
152154 if (!mentions.length) delete content.mentions
153155 if (content.recps && content.recps.length === 0) delete content.recps
@@ -183,4 +185,6 @@
183185
184186
185187
186188
189+
190+

Built with git-ssb-web