浏览代码

MUC update message should be from bare room JID

master
Sam Whited 9 年前
父节点
当前提交
0654cc0ebb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      modules/xmpp/ChatRoom.js

+ 1
- 1
modules/xmpp/ChatRoom.js 查看文件

@@ -556,7 +556,7 @@ ChatRoom.prototype.onMessage = function (msg, from) {
556 556
         }
557 557
     }
558 558
 
559
-    if (from==this.myroomjid && $(msg).find('>x[xmlns="http://jabber.org/protocol/muc#user"]>status[code="104"]').length) {
559
+    if (from==this.roomjid && $(msg).find('>x[xmlns="http://jabber.org/protocol/muc#user"]>status[code="104"]').length) {
560 560
       this.discoRoomInfo();
561 561
     }
562 562
 

正在加载...
取消
保存