Explorar el Código

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

JC Brand hace 9 años
padre
commit
f5b182c365
Se han modificado 1 ficheros con 4 adiciones y 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) {