This commit is contained in:
Codeboss
2023-08-10 01:30:01 +03:00
parent fea204ac26
commit 67542c48ac

View File

@@ -169,7 +169,8 @@ export const makeChatsSocket = (config: SocketConfig) => {
const onWhatsApp = async(...jids: string[]) => {
const query = { tag: 'contact', attrs: {} }
const list = jids.map((jid) => {
const content = `+${jid.replace('+', '')}`; // insures only 1 + is there
// insures only 1 + is there
const content = `+${jid.replace('+', '')}`
return {
tag: 'user',