test: add test suites + fix getErrorCodeFromStreamError
test: add test suites + fix getErrorCodeFromStreamError
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user