some mucs may grant voice to visitors in unmoderated rooms
This commit is contained in:
parent
43b466704a
commit
ed740b4868
|
@ -282,7 +282,9 @@ public class MucOptions {
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean participating() {
|
public boolean participating() {
|
||||||
return !online() || self.getRole().ranks(Role.PARTICIPANT);
|
return !online()
|
||||||
|
|| self.getRole().ranks(Role.PARTICIPANT)
|
||||||
|
|| hasFeature("muc_unmoderated");
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean membersOnly() {
|
public boolean membersOnly() {
|
||||||
|
|
Loading…
Reference in New Issue