mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
chore: lint
This commit is contained in:
@@ -48,7 +48,7 @@ export function decodeMessageNode(
|
|||||||
const isMeLid = (jid: string) => areJidsSameUser(jid, meLid)
|
const isMeLid = (jid: string) => areJidsSameUser(jid, meLid)
|
||||||
|
|
||||||
if(isJidUser(from) || isLidUser(from)) {
|
if(isJidUser(from) || isLidUser(from)) {
|
||||||
if (recipient && !isJidMetaIa(recipient)) {
|
if(recipient && !isJidMetaIa(recipient)) {
|
||||||
if(!isMe(from) && !isMeLid(from)) {
|
if(!isMe(from) && !isMeLid(from)) {
|
||||||
throw new Boom('receipient present, but msg not from me', { data: stanza })
|
throw new Boom('receipient present, but msg not from me', { data: stanza })
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user