File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -919,7 +919,7 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
919919 )
920920
921921 await authState . keys . set ( {
922- 'contacts-tc-token' : { [ from ] : { token : content , timestamp } }
922+ tctoken : { [ from ] : { token : content , timestamp } }
923923 } )
924924 }
925925 }
Original file line number Diff line number Diff line change @@ -941,7 +941,7 @@ export const makeMessagesSocket = (config: SocketConfig) => {
941941 }
942942
943943 const contactTcTokenData =
944- ! isGroup && ! isRetryResend && ! isStatus ? await authState . keys . get ( 'contacts-tc-token ' , [ destinationJid ] ) : { }
944+ ! isGroup && ! isRetryResend && ! isStatus ? await authState . keys . get ( 'tctoken ' , [ destinationJid ] ) : { }
945945
946946 const tcTokenBuffer = contactTcTokenData [ destinationJid ] ?. token
947947
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ export type SignalDataTypeMap = {
8080 'app-state-sync-version' : LTHashState
8181 'lid-mapping' : string
8282 'device-list' : string [ ]
83- 'contacts-tc-token ' : { token : Buffer ; timestamp ?: string }
83+ 'tctoken ' : { token : Buffer ; timestamp ?: string }
8484}
8585
8686export type SignalDataSet = { [ T in keyof SignalDataTypeMap ] ?: { [ id : string ] : SignalDataTypeMap [ T ] | null } }
You can’t perform that action at this time.
0 commit comments