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 // We need to re-register all the event handlers on the newly
// created connection. // created connection.
this.initStatus($.proxy(function () { this.initStatus($.proxy(function () {
this.registerRosterXHandler(); this.rosterview.registerRosterXHandler();
this.registerPresenceHandler(); this.rosterview.registerPresenceHandler();
this.chatboxes.registerMessageHandler(); this.chatboxes.registerMessageHandler();
converse.xmppstatus.sendPresence(); this.xmppstatus.sendPresence();
this.giveFeedback(__('Contacts')); this.giveFeedback(__('Contacts'));
}, this)); }, this));
}; };