Explorar o código

Bugfix. Need to return `this`.

JC Brand %!s(int64=8) %!d(string=hai) anos
pai
achega
37df4ad18c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/converse-muc.js

+ 1 - 1
src/converse-muc.js

@@ -1060,7 +1060,7 @@
                     if (this.model.get('connection_status') ===  Strophe.Status.CONNECTED) {
                         // We have restored a chat room from session storage,
                         // so we don't send out a presence stanza again.
-                        return;
+                        return this;
                     }
                     var stanza = $pres({
                         'from': converse.connection.jid,