mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
fix: incorrect from me
This commit is contained in:
@@ -56,7 +56,7 @@ export const decodeMessageStanza = async(stanza: BinaryNode, auth: Authenticatio
|
|||||||
|
|
||||||
const sender = msgType === 'chat' ? author : chatId
|
const sender = msgType === 'chat' ? author : chatId
|
||||||
|
|
||||||
const fromMe = isMe(participant || chatId)
|
const fromMe = isMe(stanza.attrs.participant || stanza.attrs.from)
|
||||||
const pushname = stanza.attrs.notify
|
const pushname = stanza.attrs.notify
|
||||||
|
|
||||||
const key: WAMessageKey = {
|
const key: WAMessageKey = {
|
||||||
|
|||||||
Reference in New Issue
Block a user