Commit 37df4ad1 authored by JC Brand's avatar JC Brand

Bugfix. Need to return `this`.

parent 035f5d68
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment