diff --git a/src/Socket/chats.ts b/src/Socket/chats.ts index 29f852c..8a3622f 100644 --- a/src/Socket/chats.ts +++ b/src/Socket/chats.ts @@ -135,6 +135,7 @@ export const makeChatsSocket = (config: SocketConfig) => { type: 'get' } }) + return result.content[0].content.map(i => i.attrs.jid) } const updateBlockStatus = async(jid: string, action: 'block' | 'unblock') => {