From ba01c139ab0e0b3f2682a7727650a5d0e72d71b6 Mon Sep 17 00:00:00 2001 From: M SHAH Date: Thu, 29 Aug 2024 15:24:01 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=20fix=20#3239?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/Client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/Client.ts b/src/api/Client.ts index 05b40a1c3d..b43d672d79 100644 --- a/src/api/Client.ts +++ b/src/api/Client.ts @@ -3770,7 +3770,7 @@ public async getStatus(contactId: ContactId) : Promise<{ */ public async setGroupApprovalMode(groupId: GroupChatId, requireApproval: boolean) : Promise { return await this.pup( - ({ groupId, requireApproval }) => WAPI.setGroupEditToAdminsOnly(groupId, requireApproval), + ({ groupId, requireApproval }) => WAPI.setGroupApprovalMode(groupId, requireApproval), { groupId, requireApproval } ) as Promise; }