Commit a1c33d21 authored by JC Brand's avatar JC Brand

No need to explicitly call `refreshFeatures`

`initializeDisco` already gets called upon reconnection which
accomplishes this.
parent 9167128d
......@@ -264,13 +264,11 @@ converse.plugins.add('converse-muc', {
}
},
async onReconnection () {
onReconnection () {
this.save('connection_status', converse.ROOMSTATUS.DISCONNECTED);
this.clearMessages();
this.clearOccupants();
this.registerHandlers();
// Make sure we refetch features from the XMPP server
await _converse.api.disco.refreshFeatures(this.get('jid'));
this.announceReconnection();
this.enterRoom();
},
......
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