Fixes #406.
Call to registerRosterXHandler and registerPresenceHandler on onReconnected give exception.
This commit is contained in:
parent
6afcc0fbe1
commit
fc1768d12d
@ -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));
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user