Explorar o código

Set `connected` back to `true` after reconnect.

JC Brand %!s(int64=9) %!d(string=hai) anos
pai
achega
f5b182c365
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/converse-controlbox.js

+ 4 - 0
src/converse-controlbox.js

@@ -63,6 +63,10 @@
                 return result;
             },
 
+            afterReconnected: function () {
+                view.model.set({connected:true});
+            },
+
             _tearDown: function () {
                 this._super._tearDown.apply(this, arguments);
                 if (this.rosterview) {