fix: set remote jid on quoted participant

This commit is contained in:
Adhiraj Singh
2021-12-11 00:17:26 +05:30
parent 8b1374f6ae
commit 0ef9ce166d

View File

@@ -324,7 +324,7 @@ export const generateWAMessageFromContent = (
// if a participant is quoted, then it must be a group
// hence, remoteJid of group must also be entered
if (quoted.key.participant) {
if (quoted.key.participant || quoted.participant) {
message[key].contextInfo.remoteJid = quoted.key.remoteJid
}
}