mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
chore: remove log
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user