some mucs may grant voice to visitors in unmoderated rooms

This commit is contained in:
Daniel Gultsch 2016-02-21 11:42:41 +01:00
parent 43b466704a
commit ed740b4868
1 changed files with 3 additions and 1 deletions

View File

@ -282,7 +282,9 @@ public class MucOptions {
}
public boolean participating() {
return !online() || self.getRole().ranks(Role.PARTICIPANT);
return !online()
|| self.getRole().ranks(Role.PARTICIPANT)
|| hasFeature("muc_unmoderated");
}
public boolean membersOnly() {