mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-26 06:49:22 +00:00
Apply new "canEveryoneAddMembers" policy
This commit is contained in:
parent
24f5a3e482
commit
ca1f94531f
@ -54,10 +54,12 @@ class ConversationsHelper {
|
|||||||
"following": settings.following ? "true" : "false"
|
"following": settings.following ? "true" : "false"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (settings.isOwner || settings.canEveryoneAddMembers)
|
||||||
|
request.addString("members", settings.members.join(","));
|
||||||
|
|
||||||
// Update all conversation settings, if possible
|
// Update all conversation settings, if possible
|
||||||
if (settings.isOwner) {
|
if (settings.isOwner) {
|
||||||
request.addString("name", settings.hasName ? settings.name : "false");
|
request.addString("name", settings.hasName ? settings.name : "false");
|
||||||
request.addString("members", settings.members.join(","));
|
|
||||||
request.addBool("canEveryoneAddMembers", settings.canEveryoneAddMembers);
|
request.addBool("canEveryoneAddMembers", settings.canEveryoneAddMembers);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user