Commit a79eb0308807631fe0adc371011c014d014cf46b
pass message type to composer
Ev Bogue committed on 4/29/2018, 8:09:21 PMParent: a41750fd72cc6915cab66dfd5d12958892158a6b
Files changed
views.js | changed |
views.js | |||
---|---|---|---|
@@ -119,7 +119,10 @@ | |||
119 | 119 … | } | |
120 | 120 … | ||
121 | 121 … | module.exports.compose = function () { | |
122 | 122 … | screen() | |
123 | - | ||
124 | - content.appendChild(h('div.message', compose)) | ||
123 … | + var opts = { | ||
124 … | + "root": null, | ||
125 … | + "type": "post" | ||
126 … | + } | ||
127 … | + content.appendChild(h('div.message', compose(opts))) | ||
125 | 128 … | } |
Built with git-ssb-web