mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 21:09:21 +00:00
Add the "allowEveryoneToAddMembers" setting when creating the conversation
This commit is contained in:
parent
9a4b61aff3
commit
ace7b44595
@ -36,8 +36,8 @@ class ConversationsHelper {
|
|||||||
await APIRequest(uri: "conversations/create", needLogin: true, args: {
|
await APIRequest(uri: "conversations/create", needLogin: true, args: {
|
||||||
"name": settings.hasName ? settings.name : "false",
|
"name": settings.hasName ? settings.name : "false",
|
||||||
"follow": settings.following ? "true" : "false",
|
"follow": settings.following ? "true" : "false",
|
||||||
"users": settings.members.join(",")
|
"users": settings.members.join(","),
|
||||||
}).exec();
|
}).addBool("canEveryoneAddMembers", settings.canEveryoneAddMembers).exec();
|
||||||
|
|
||||||
if (response.code != 200) return -1;
|
if (response.code != 200) return -1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user