Commit 6550544b authored by JC Brand's avatar JC Brand

Bugfix. Bind to right context.

parent 8a74cc33
# Changelog # Changelog
## 1.0.2 (2016-05-24)
- Bugfix. Bind `sendPresence` to the right context. Bug that slipped in during
the release of `1.0.1`. [jcbrand]
## 1.0.1 (2016-05-24) ## 1.0.1 (2016-05-24)
- Bugfix. Roster filter sometimes gets hidden when it shouldn't. - Bugfix. Roster filter sometimes gets hidden when it shouldn't. [jcbrand]
- Chat boxes weren't being initialized due to typo. - Chat boxes weren't being initialized due to typo. [jcbrand]
- Flush request queue just after connection. Solves a problem with PubSub and - Flush request queue just after connection. Solves a problem with PubSub and
Prosody, whereby BOSH HTTP responses weren't being received. Prosody, whereby BOSH HTTP responses weren't being received. [jcbrand]
## 1.0.0 (2016-05-03) ## 1.0.0 (2016-05-03)
......
...@@ -292,7 +292,8 @@ ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment