Fix: fetchBlocklist (#1042)

This commit is contained in:
nanda
2021-12-23 00:18:40 +07:00
committed by GitHub
parent a9373fa0cd
commit ee3486124d

View File

@@ -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') => {