Bugfix. Avoid passing IQ to sendPresence.
This commit is contained in:
parent
f779b9a3c0
commit
1884621f3f
@ -4956,9 +4956,9 @@
|
||||
* fetching the roster we are ready to receive presence
|
||||
* updates from our contacts.
|
||||
*/
|
||||
converse.roster.fetchFromServer(
|
||||
converse.xmppstatus.sendPresence.bind(converse.xmppstatus)
|
||||
);
|
||||
converse.roster.fetchFromServer(function () {
|
||||
converse.xmppstatus.sendPresence();
|
||||
});
|
||||
} else if (converse.send_initial_presence) {
|
||||
/* We're not going to fetch the roster again because we have
|
||||
* it already cached in sessionStorage, but we still need to
|
||||
|
Loading…
Reference in New Issue
Block a user