fix: use correct ID for retry recp

This commit is contained in:
Adhiraj Singh
2022-04-20 13:20:05 +05:30
parent af7b2a5dd2
commit ac17225cf3

View File

@@ -366,7 +366,7 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
}
if(attrs.type === 'retry') {
if(willSendMessageAgain(key.id)) {
if(willSendMessageAgain(ids[0])) {
// correctly set who is asking for the retry
key.participant = key.participant || attrs.from
if(key.fromMe) {