Fix messenger bugs
This commit is contained in:
1 parent
19da04664a
commit
6c6ce7b7a8
2 files changed
+2
-1
No files matched your search
@@ -499,7 +499,6 @@ define([
|
||||
};
|
||||
|
||||
messenger.on('message', function (message) {
|
||||
common.notify();
|
||||
var chanId = message.channel;
|
||||
|
||||
var chat = getChat(chanId);
|
||||
@@ -514,6 +513,7 @@ define([
|
||||
console.error('expected channel [%s] to be open', chanId);
|
||||
return;
|
||||
}
|
||||
common.notify();
|
||||
|
||||
channel.messages.push(message);
|
||||
|
||||
|
||||
Reference in new issue
Block a user