Commit fc1768d1 authored by JC Brand's avatar JC Brand

Fixes #406.

Call to registerRosterXHandler and registerPresenceHandler on onReconnected give exception.
parent 6afcc0fb
......@@ -667,10 +667,10 @@
// We need to re-register all the event handlers on the newly
// created connection.
this.initStatus($.proxy(function () {
this.registerRosterXHandler();
this.registerPresenceHandler();
this.rosterview.registerRosterXHandler();
this.rosterview.registerPresenceHandler();
this.chatboxes.registerMessageHandler();
converse.xmppstatus.sendPresence();
this.xmppstatus.sendPresence();
this.giveFeedback(__('Contacts'));
}, this));
};
......
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