diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-02-21 11:42:41 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2016-02-21 11:42:41 +0100 |
commit | ed740b4868884b159cce284ebfbd80cefc904520 (patch) | |
tree | 03d474baeb247a1a90bbfc66668c7199cba0361d /src | |
parent | 43b466704a1f5a08e1e2d4e98b6f2b7acb65cf21 (diff) |
some mucs may grant voice to visitors in unmoderated rooms
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/entities/MucOptions.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/entities/MucOptions.java b/src/main/java/eu/siacs/conversations/entities/MucOptions.java index 7f4ded11..be9d790d 100644 --- a/src/main/java/eu/siacs/conversations/entities/MucOptions.java +++ b/src/main/java/eu/siacs/conversations/entities/MucOptions.java @@ -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() { |