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

bugfix: remove affiliation check

parent e4ace9be
No related branches found
No related tags found
2 merge requests!121Remove affiliation check (RAI),!113History, Reply to messages and RAI
......@@ -25,7 +25,7 @@ converse.plugins.add('converse-rai', {
if (this.get('hidden')
&& conn_status === converse.ROOMSTATUS.ENTERED
&& api.settings.get('muc_subscribe_to_rai')
&& this.getOwnAffiliation() !== 'none'
// && this.getOwnAffiliation() !== 'none'
) {
this.sendMarkerForLastMessage('received', true);
await this.leave();
......@@ -47,7 +47,7 @@ converse.plugins.add('converse-rai', {
if (this.get('hidden')
&& conn_status === converse.ROOMSTATUS.ENTERED
&& api.settings.get('muc_subscribe_to_rai')
&& this.getOwnAffiliation() !== 'none'
// && this.getOwnAffiliation() !== 'none'
) {
await this.leave();
await this.close();
......
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