test: add test suites + fix getErrorCodeFromStreamError

test: add test suites + fix getErrorCodeFromStreamError
This commit is contained in:
Renato Alcara
2026-02-23 23:12:44 -03:00
committed by GitHub
parent c63c7a815f
commit a2382e6fb4
7 changed files with 2615 additions and 4725 deletions
+1 -1
View File
@@ -1618,8 +1618,8 @@ export const makeMessagesSocket = (config: SocketConfig) => {
await authState.keys.set({
tctoken: {
[tcTokenJid]: {
token: Buffer.alloc(0),
...currentEntry,
token: currentEntry?.token ?? Buffer.alloc(0),
senderTimestamp: issueTimestamp
}
}