From 9149e58f78d569e16766de06ca69e072452aa0ba Mon Sep 17 00:00:00 2001 From: canove Date: Wed, 23 Apr 2025 16:04:26 -0300 Subject: [PATCH] chore: remove log --- src/WABinary/decode.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/WABinary/decode.ts b/src/WABinary/decode.ts index 53e8c86..706a135 100644 --- a/src/WABinary/decode.ts +++ b/src/WABinary/decode.ts @@ -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',