فهرست منبع

Merge branch 'master' into mockup

JC Brand 12 سال پیش
والد
کامیت
f846e70c10
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      converse.js

+ 1 - 2
converse.js

@@ -1437,10 +1437,9 @@
             },
 
             showErrorMessage: function ($error, room) {
-                var $chat_content = this.$el.find('.chat-content');
                 // We didn't enter the room, so we must remove it from the MUC
                 // add-on
-                converse.connection.muc.removeRoom(room.name);
+                delete converse.connection.muc[room.name];
                 if ($error.attr('type') == 'auth') {
                     if ($error.find('not-authorized').length) {
                         this.renderPasswordForm();