From 5e94a2b6e3a6011a437b455e1a5a416eb13c0363 Mon Sep 17 00:00:00 2001 From: Adhiraj Singh Date: Fri, 26 Nov 2021 13:08:50 +0530 Subject: [PATCH] fix: pin modification --- src/Utils/chat-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utils/chat-utils.ts b/src/Utils/chat-utils.ts index 342be90..febe0cf 100644 --- a/src/Utils/chat-utils.ts +++ b/src/Utils/chat-utils.ts @@ -488,7 +488,7 @@ export const chatModificationToAppPatch = ( pinned: !!mod.pin } }, - index: ['pin_v1', '919646328797@s.whatsapp.net'], + index: ['pin_v1', jid], type: 'regular_low', apiVersion: 5, operation: OP.SET