mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
fix: simplify domainType
This commit is contained in:
@@ -149,10 +149,7 @@ export const decodeDecompressedBinaryNode = (
|
||||
|
||||
const readAdJid = () => {
|
||||
const rawDomainType = readByte()
|
||||
const domainType = typeof rawDomainType === 'number'
|
||||
? rawDomainType
|
||||
: Number(rawDomainType)
|
||||
|
||||
const domainType = Number(rawDomainType)
|
||||
|
||||
const device = readByte()
|
||||
const user = readString(readByte())
|
||||
|
||||
Reference in New Issue
Block a user