Remove snippet of code that's not being used.
This commit is contained in:
parent
5fce1556b1
commit
3fc0ef1e70
@ -924,7 +924,7 @@
|
|||||||
$message.find(INACTIVE).length && INACTIVE ||
|
$message.find(INACTIVE).length && INACTIVE ||
|
||||||
$message.find(ACTIVE).length && ACTIVE ||
|
$message.find(ACTIVE).length && ACTIVE ||
|
||||||
$message.find(GONE).length && GONE,
|
$message.find(GONE).length && GONE,
|
||||||
stamp, time, sender, from, createMessage;
|
stamp, time, sender, from;
|
||||||
|
|
||||||
if (is_groupchat) {
|
if (is_groupchat) {
|
||||||
from = Strophe.unescapeNode(Strophe.getResourceFromJid($message.attr('from')));
|
from = Strophe.unescapeNode(Strophe.getResourceFromJid($message.attr('from')));
|
||||||
@ -943,11 +943,6 @@
|
|||||||
} else {
|
} else {
|
||||||
sender = 'them';
|
sender = 'them';
|
||||||
}
|
}
|
||||||
if (!body) {
|
|
||||||
createMessage = this.messages.add;
|
|
||||||
} else {
|
|
||||||
createMessage = this.messages.create;
|
|
||||||
}
|
|
||||||
this.messages.create({
|
this.messages.create({
|
||||||
chat_state: chat_state,
|
chat_state: chat_state,
|
||||||
delayed: delayed,
|
delayed: delayed,
|
||||||
|
Loading…
Reference in New Issue
Block a user