Commit 6bfa69ab authored by JC Brand's avatar JC Brand

Bugfix. Wait for members before fetching messages

parent 3ca6ac7f
......@@ -415,7 +415,7 @@ converse.plugins.add('converse-muc', {
async onConnectionStatusChanged () {
if (this.get('connection_status') === converse.ROOMSTATUS.ENTERED) {
this.occupants.fetchMembers();
await this.occupants.fetchMembers();
// It's possible to fetch messages before entering a MUC,
// but we don't support this use-case currently. By
// fetching messages after members we can immediately
......
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