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
|
* fetching the roster we are ready to receive presence
|
||||||
* updates from our contacts.
|
* updates from our contacts.
|
||||||
*/
|
*/
|
||||||
converse.roster.fetchFromServer(
|
converse.roster.fetchFromServer(function () {
|
||||||
converse.xmppstatus.sendPresence.bind(converse.xmppstatus)
|
converse.xmppstatus.sendPresence();
|
||||||
);
|
});
|
||||||
} 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
|
||||||
|
Loading…
Reference in New Issue
Block a user