Skip to content

Commit 47fc88f

Browse files
committed
Updates #1760. Re-register messages handlers upon reconnection
1 parent 11ffab8 commit 47fc88f

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed

CHANGES.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# Changelog
22

3-
## 5.0.5
3+
## 5.0.5 (Unreleased)
44

55
- Prevent editing of sent file uploads.
6+
- #1089: When filtering the roster for `online` users, show all non-offline users.
7+
- #1733: New message notifications for a minimized chat stack on top of each other
8+
- #1757: Chats are hidden behind the controlbox on mobile
9+
- #1760: Private messages no longer received after websocket reconnect
610

711
## 5.0.4 (2019-10-08)
812

package-lock.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/headless/converse-chatboxes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1143,13 +1143,13 @@ converse.plugins.add('converse-chatboxes', {
11431143
},
11441144

11451145
onConnected (reconnecting) {
1146+
this.registerMessageHandler();
11461147
if (reconnecting) {
11471148
return;
11481149
}
11491150
const storage = _converse.config.get('storage');
11501151
this.browserStorage = new BrowserStorage[storage](
11511152
`converse.chatboxes-${_converse.bare_jid}`);
1152-
this.registerMessageHandler();
11531153
this.fetch({
11541154
'add': true,
11551155
'success': c => this.onChatBoxesFetched(c)

webpack.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,13 @@
2020
auto_away: 300,
2121
auto_login: true,
2222
auto_register_muc_nickname: true,
23-
bosh_service_url: 'http://chat.example.org:5380/http-bind/',
23+
// bosh_service_url: 'http://chat.example.org:5380/http-bind/',
2424
debug: true,
2525
enable_smacks: true,
2626
i18n: 'en',
27-
2827
message_archiving: 'always',
2928
muc_domain: 'conference.chat.example.org',
3029
muc_respect_autojoin: true,
31-
password: 'secret',
3230
view_mode: 'fullscreen',
3331
websocket_url: 'ws://chat.example.org:5380/xmpp-websocket',
3432
whitelisted_plugins: ['converse-debug'],

0 commit comments

Comments
 (0)