some code-changes to align with the coding standard
This commit is contained in:
parent
7660dbfb31
commit
bf3e6f2363
@ -255,7 +255,7 @@
|
||||
'click .toggle-smiley': 'toggleEmojiMenu',
|
||||
'click .toggle-spoiler': 'toggleSpoilerMessage',
|
||||
'click .toggle-compose-spoiler': 'toggleComposeSpoilerMessage',
|
||||
'keypress .chat-textarea': 'keyPressed',
|
||||
'keypress .chat-textarea': 'keyPressed'
|
||||
},
|
||||
|
||||
initialize () {
|
||||
@ -845,7 +845,7 @@
|
||||
'xmns': Strophe.NS.DELAY,
|
||||
'stamp': moment().format()
|
||||
}).up()
|
||||
.cnode(message.tree())
|
||||
.cnode(messageStanza.tree())
|
||||
);
|
||||
}
|
||||
},
|
||||
@ -890,7 +890,6 @@
|
||||
}
|
||||
const attrs = this.getOutgoingMessageAttributes(text, spoiler_hint);
|
||||
const message = this.model.messages.create(attrs);
|
||||
|
||||
this.sendMessage(message, file);
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user