mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Update messages-send.ts
This commit is contained in:
@@ -444,9 +444,9 @@ export const makeMessagesSocket = (config: SocketConfig) => {
|
||||
const allJids: string[] = []
|
||||
const meJids: string[] = []
|
||||
const otherJids: string[] = []
|
||||
for(const { user, device,domainType } of devices) {
|
||||
const jid = jidEncode(user, isLid ? 'lid' : 's.whatsapp.net', device)
|
||||
for(const { user, device } of devices) {
|
||||
const isMe = user === meUser
|
||||
const jid = jidEncode(user, !isMe && isLid ? 'lid' : 's.whatsapp.net', device)
|
||||
if(isMe) {
|
||||
meJids.push(jid)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user