mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-11-21 16:55:10 -05:00
Update to latest stanza.io
This commit is contained in:
parent
5945858b4a
commit
527d711585
@ -161,6 +161,7 @@ module.exports = BasePage.extend({
|
||||
});
|
||||
|
||||
message = {
|
||||
id: client.nextId(),
|
||||
to: client.JID(this.model.lockedResource || this.model.jid),
|
||||
type: 'chat',
|
||||
body: val,
|
||||
@ -174,9 +175,12 @@ module.exports = BasePage.extend({
|
||||
message.replace = this.model.lastSentMessage.id;
|
||||
}
|
||||
|
||||
var id = client.sendMessage(message);
|
||||
message.mid = id;
|
||||
client.sendMessage(message);
|
||||
|
||||
// Prep message to create a Message model
|
||||
message.from = me.jid;
|
||||
message.mid = message.id;
|
||||
delete message.id;
|
||||
|
||||
if (this.editMode) {
|
||||
this.model.lastSentMessage.correct(message);
|
||||
|
@ -18,7 +18,7 @@
|
||||
"getusermedia": "0.2.1",
|
||||
"helmet": "0.1.0",
|
||||
"human-model": "2.6.0",
|
||||
"human-view": "1.2.0",
|
||||
"human-view": "1.5.0",
|
||||
"jade": "0.35.0",
|
||||
"moonboots": "1.0.0",
|
||||
"node-uuid": "1.4.1",
|
||||
@ -26,7 +26,7 @@
|
||||
"oembed": "0.1.0",
|
||||
"semi-static": "0.0.4",
|
||||
"sound-effect-manager": "0.0.5",
|
||||
"stanza.io": "2.13.1",
|
||||
"stanza.io": "3.0.0",
|
||||
"staydown": "1.0.3",
|
||||
"templatizer": "0.1.2",
|
||||
"underscore": "1.5.1",
|
||||
|
Loading…
Reference in New Issue
Block a user