fix: incorrect from me

This commit is contained in:
Adhiraj Singh
2022-01-07 21:15:27 +05:30
parent db6a02c4a5
commit 6c08f0cd76

View File

@@ -56,7 +56,7 @@ export const decodeMessageStanza = async(stanza: BinaryNode, auth: Authenticatio
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 key: WAMessageKey = {