Bugfix. Bind to right context.

This commit is contained in:
JC Brand 2016-05-24 08:40:51 +00:00
parent 8a74cc3323
commit 6550544b41
2 changed files with 10 additions and 4 deletions

View File

@ -1,11 +1,16 @@
# 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)
- Bugfix. Roster filter sometimes gets hidden when it shouldn't.
- Chat boxes weren't being initialized due to typo.
- Bugfix. Roster filter sometimes gets hidden when it shouldn't. [jcbrand]
- Chat boxes weren't being initialized due to typo. [jcbrand]
- 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)

View File

@ -292,7 +292,8 @@
* fetching the roster we are ready to receive presence
* 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) {
/* We're not going to fetch the roster again because we have
* it already cached in sessionStorage, but we still need to