mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
fix: correctly set reaction msg key
This commit is contained in:
@@ -31,8 +31,8 @@ export const cleanMessage = (message: proto.IWebMessageInfo, meId: string) => {
|
||||
if(content?.reactionMessage) {
|
||||
const msgKey = content.reactionMessage.key!
|
||||
if(!message.key.fromMe) {
|
||||
msgKey.fromMe = areJidsSameUser(msgKey.participant || msgKey.remoteJid, meId)
|
||||
msgKey.remoteJid = message.key.remoteJid
|
||||
msgKey.fromMe = areJidsSameUser(msgKey.participant || msgKey.remoteJid, meId)
|
||||
msgKey.participant = msgKey.participant || message.key.participant
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user