chore: lint

This commit is contained in:
Rajeh Taher
2025-10-18 20:35:36 +03:00
parent 07536dedfc
commit 7ee0b61716
6 changed files with 19 additions and 10 deletions
+1 -1
View File
@@ -502,7 +502,7 @@ export const makeSocket = (config: SocketConfig) => {
try {
let count = 0
const preKeyCount = await getAvailablePreKeysOnServer()
if (preKeyCount == 0) count = INITIAL_PREKEY_COUNT
if (preKeyCount === 0) count = INITIAL_PREKEY_COUNT
else count = MIN_PREKEY_COUNT
const { exists: currentPreKeyExists, currentPreKeyId } = await verifyCurrentPreKeyExists()