edit public=true/false property in mucs
This commit is contained in:
parent
b1941d488c
commit
2e587c52d6
1 changed files with 4 additions and 0 deletions
|
@ -212,6 +212,10 @@ public class ConferenceDetailsActivity extends XmppActivity implements OnConvers
|
||||||
options1.putString("muc#roomconfig_whois", values[2] ? "anyone" : "moderators");
|
options1.putString("muc#roomconfig_whois", values[2] ? "anyone" : "moderators");
|
||||||
}
|
}
|
||||||
options1.putString("muc#roomconfig_persistentroom", "1");
|
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,
|
xmppConnectionService.pushConferenceConfiguration(mConversation,
|
||||||
options1,
|
options1,
|
||||||
ConferenceDetailsActivity.this);
|
ConferenceDetailsActivity.this);
|
||||||
|
|
Reference in a new issue