|
@@ -292,7 +292,8 @@
|
|
* fetching the roster we are ready to receive presence
|
|
* fetching the roster we are ready to receive presence
|
|
* updates from our contacts.
|
|
* updates from our contacts.
|
|
*/
|
|
*/
|
|
- converse.roster.fetchFromServer(converse.xmppstatus.sendPresence);
|
|
|
|
|
|
+ converse.roster.fetchFromServer(
|
|
|
|
+ converse.xmppstatus.sendPresence.bind(converse.xmppstatus));
|
|
} else if (converse.send_initial_presence) {
|
|
} else if (converse.send_initial_presence) {
|
|
/* We're not going to fetch the roster again because we have
|
|
/* We're not going to fetch the roster again because we have
|
|
* it already cached in sessionStorage, but we still need to
|
|
* it already cached in sessionStorage, but we still need to
|