Skip to content

Commit

Permalink
🚑 fix #3239
Browse files Browse the repository at this point in the history
  • Loading branch information
smashah committed Aug 29, 2024
1 parent 8ec43a3 commit ba01c13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3770,7 +3770,7 @@ public async getStatus(contactId: ContactId) : Promise<{
*/
public async setGroupApprovalMode(groupId: GroupChatId, requireApproval: boolean) : Promise<boolean> {
return await this.pup(
({ groupId, requireApproval }) => WAPI.setGroupEditToAdminsOnly(groupId, requireApproval),
({ groupId, requireApproval }) => WAPI.setGroupApprovalMode(groupId, requireApproval),
{ groupId, requireApproval }
) as Promise<boolean>;
}
Expand Down

0 comments on commit ba01c13

Please sign in to comment.