aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java b/src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java
index e31eba559..c7847f64b 100644
--- a/src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java
@@ -212,6 +212,10 @@ public class ConferenceDetailsActivity extends XmppActivity implements OnConvers
options1.putString("muc#roomconfig_whois", values[2] ? "anyone" : "moderators");
}
options1.putString("muc#roomconfig_persistentroom", "1");
+ final boolean whois = values.length == 2 ? values[1] : values[2];
+ if (values[0] == whois) {
+ options1.putString("muc#roomconfig_publicroom", whois ? "0" : "1");
+ }
xmppConnectionService.pushConferenceConfiguration(mConversation,
options1,
ConferenceDetailsActivity.this);