Commit 586bbd0e authored by JC Brand's avatar JC Brand

Bugfix. First configure `browserStorage` for ChatBoxes

before populating the roster.
parent 3b38f723
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
For details, refer to the [relevant documentation](https://conversejs.org/docs/html/developer_api.html#the-rooms-grouping) [jcbrand] For details, refer to the [relevant documentation](https://conversejs.org/docs/html/developer_api.html#the-rooms-grouping) [jcbrand]
- Bugfix: Arrays in configuration settings were ignored. [jcbrand] - Bugfix: Arrays in configuration settings were ignored. [jcbrand]
- Bugfix: Chatboxes aren't closed when logging out. [jcbrand] - Bugfix: Chatboxes aren't closed when logging out. [jcbrand]
- Bugfix: Trying to save data on the `ControlBox` model before `ChatBoxes`
collection has its `browserStorage` configured.
Causes `Error: A "url" property or function must be specified`. [jcbrand]
## 2.0.1 (2016-11-07) ## 2.0.1 (2016-11-07)
- #203 New configuration setting [muc_domain](https://conversejs.org/docs/html/configuration.html#muc_domain) [jcbrand] - #203 New configuration setting [muc_domain](https://conversejs.org/docs/html/configuration.html#muc_domain) [jcbrand]
......
...@@ -673,8 +673,8 @@ ...@@ -673,8 +673,8 @@
this.onStatusInitialized = function () { this.onStatusInitialized = function () {
converse.registerIntervalHandler(); converse.registerIntervalHandler();
converse.initRoster(); converse.initRoster();
converse.populateRoster();
converse.chatboxes.onConnected(); converse.chatboxes.onConnected();
converse.populateRoster();
converse.registerPresenceHandler(); converse.registerPresenceHandler();
converse.giveFeedback(__('Contacts')); converse.giveFeedback(__('Contacts'));
if (typeof converse.callback === 'function') { if (typeof converse.callback === 'function') {
...@@ -729,8 +729,8 @@ ...@@ -729,8 +729,8 @@
// Give event handlers a chance to register views for the roster // Give event handlers a chance to register views for the roster
// and its groups, before we start populating. // and its groups, before we start populating.
converse.emit('rosterReadyAfterReconnection'); converse.emit('rosterReadyAfterReconnection');
converse.populateRoster();
converse.chatboxes.onConnected(); converse.chatboxes.onConnected();
converse.populateRoster();
converse.xmppstatus.sendPresence(); converse.xmppstatus.sendPresence();
converse.emit('reconnected'); converse.emit('reconnected');
converse.giveFeedback(__('Contacts')); converse.giveFeedback(__('Contacts'));
......
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