chore: lint

This commit is contained in:
Rajeh Taher
2025-11-19 16:18:13 +02:00
parent 235d7ec6f6
commit 50d410d117
11 changed files with 34 additions and 101 deletions
+3 -3
View File
@@ -946,7 +946,7 @@ export const makeMessagesSocket = (config: SocketConfig) => {
const tcTokenBuffer = contactTcTokenData[destinationJid]?.token
if (tcTokenBuffer) {
(stanza.content as BinaryNode[]).push({
;(stanza.content as BinaryNode[]).push({
tag: 'tctoken',
attrs: {},
content: tcTokenBuffer
@@ -1198,8 +1198,8 @@ export const makeMessagesSocket = (config: SocketConfig) => {
additionalNodes
})
if (config.emitOwnEvents) {
process.nextTick(() => {
processingMutex.mutex(() => upsertMessage(fullMsg, 'append'))
process.nextTick(async () => {
await processingMutex.mutex(() => upsertMessage(fullMsg, 'append'))
})
}