mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-12-26 04:48:51 +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"
|
||||
});
|
||||
|
||||
if (settings.isOwner || settings.canEveryoneAddMembers)
|
||||
request.addString("members", settings.members.join(","));
|
||||
|
||||
// Update all conversation settings, if possible
|
||||
if (settings.isOwner) {
|
||||
request.addString("name", settings.hasName ? settings.name : "false");
|
||||
request.addString("members", settings.members.join(","));
|
||||
request.addBool("canEveryoneAddMembers", settings.canEveryoneAddMembers);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user