sender-key: credit original fix and fix key handling

This commit is contained in:
Rajeh Taher
2025-09-13 11:38:24 +03:00
parent f0dcc30e0f
commit e305d4848e
3 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -1120,7 +1120,7 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
if (getBinaryNodeChild(node, 'unavailable') && !encNode) {
await sendMessageAck(node)
const { key } = decodeMessageNode(node, authState.creds.me!.id, authState.creds.me!.lid || '').fullMessage
response = await requestPlaceholderResend(key)
response = await requestPlaceholderResend(key) // TODO: DEPRECATE THIS LOGIC AND PASS IT OFF TO THE RETRY MANAGER
if (response === 'RESOLVED') {
return
}