1
0
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:
Pierre HUBERT 2020-04-26 14:29:22 +02:00
parent 9a4b61aff3
commit ace7b44595

View File

@ -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;