Commit c24aab4d406daa99a57712bf37fc9f5d7c2971ff
add message confirm to posts
mix irving committed on 3/19/2017, 9:53:55 AMParent: f20c3906c76d5d99c04235d9c0c4f2c711dea2bb
Files changed
message/html/compose.js | changed |
message/html/compose.js | ||
---|---|---|
@@ -11,9 +11,9 @@ | ||
11 | 11 | 'emoji.sync': { |
12 | 12 | names: 'first', |
13 | 13 | url: 'first' |
14 | 14 | }, |
15 | - 'message.async.publish': 'first' | |
15 | + 'message.html.confirm': 'first' | |
16 | 16 | }) |
17 | 17 | |
18 | 18 | exports.gives = nest('message.html.compose') |
19 | 19 | |
@@ -158,9 +158,9 @@ | ||
158 | 158 | if (cb) cb(err) |
159 | 159 | else throw err |
160 | 160 | } |
161 | 161 | |
162 | - return api.message.async.publish(meta, done) | |
162 | + return api.message.html.confirm(meta, done) | |
163 | 163 | |
164 | 164 | function done (err, msg) { |
165 | 165 | publishBtn.disabled = false |
166 | 166 | if (err) throw err |
Built with git-ssb-web