mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
eslint final
This commit is contained in:
@@ -169,9 +169,9 @@ export const makeChatsSocket = (config: SocketConfig) => {
|
|||||||
const onWhatsApp = async(...jids: string[]) => {
|
const onWhatsApp = async(...jids: string[]) => {
|
||||||
const query = { tag: 'contact', attrs: {} }
|
const query = { tag: 'contact', attrs: {} }
|
||||||
const list = jids.map((jid) => {
|
const list = jids.map((jid) => {
|
||||||
// insures only 1 + is there
|
// insures only 1 + is there
|
||||||
const content = `+${jid.replace('+', '')}`
|
const content = `+${jid.replace('+', '')}`
|
||||||
|
|
||||||
return {
|
return {
|
||||||
tag: 'user',
|
tag: 'user',
|
||||||
attrs: {},
|
attrs: {},
|
||||||
|
|||||||
Reference in New Issue
Block a user