messages, auth: rename 'contacts-tc-token' to tctoken

This commit is contained in:
Rajeh Taher
2025-11-19 16:30:21 +02:00
parent 50d410d117
commit 247c717881
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -919,7 +919,7 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
)
await authState.keys.set({
'contacts-tc-token': { [from]: { token: content, timestamp } }
tctoken: { [from]: { token: content, timestamp } }
})
}
}
+1 -1
View File
@@ -941,7 +941,7 @@ export const makeMessagesSocket = (config: SocketConfig) => {
}
const contactTcTokenData =
!isGroup && !isRetryResend && !isStatus ? await authState.keys.get('contacts-tc-token', [destinationJid]) : {}
!isGroup && !isRetryResend && !isStatus ? await authState.keys.get('tctoken', [destinationJid]) : {}
const tcTokenBuffer = contactTcTokenData[destinationJid]?.token