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
|
// 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));
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user