Call to registerRosterXHandler and registerPresenceHandler on onReconnected give exception.
This commit is contained in:
JC Brand 2015-05-21 17:04:56 +02:00
parent 6afcc0fbe1
commit fc1768d12d

View File

@ -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));
};