Skip to content
Snippets Groups Projects
Commit 8f88b3bd authored by ubermanu's avatar ubermanu
Browse files

do not send the presence rai on leave (unnecessary)

parent 658d892c
No related branches found
No related tags found
2 merge requests!115161 new converse rai,!113History, Reply to messages and RAI
......@@ -24,7 +24,7 @@ converse.plugins.add('converse-rai', {
if (this.session.get('connection_status') === converse.ROOMSTATUS.ENTERED) {
if (this.get('hidden') && api.settings.get('muc_subscribe_to_rai') && this.getOwnAffiliation() !== 'none') {
await this.leave();
this.enableRAI();
// this.enableRAI();
} else {
await this.__super__.onConnectionStatusChanged.apply(this, arguments);
}
......@@ -47,7 +47,7 @@ converse.plugins.add('converse-rai', {
this.sendMarkerForLastMessage('received', true);
await this.leave();
}
this.enableRAI();
// this.enableRAI();
}
} else if (conn_status === converse.ROOMSTATUS.DISCONNECTED) {
this.rejoin();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment