chore: remove log

This commit is contained in:
canove
2025-04-23 16:04:26 -03:00
parent fb1d21b312
commit 9149e58f78

View File

@@ -1,6 +1,5 @@
import { promisify } from 'util'
import { inflate } from 'zlib'
import logger from '../Utils/logger'
import * as constants from './constants'
import { jidEncode } from './jid-utils'
import type { BinaryNode, BinaryNodeCodingOptions } from './types'
@@ -154,12 +153,6 @@ export const decodeDecompressedBinaryNode = (
const device = readByte()
const user = readString(readByte())
if((domainType & 1) !== 0 || (domainType & 0x80) === 0) {
if(![0, 1].includes(domainType)) {
logger.warn('Possibly invalid domainType:', domainType, user, device)
}
}
return jidEncode(
user,
domainType === 0 || domainType === 128 ? 's.whatsapp.net' : 'lid',