wabinary: fix misinterpreted string encoding as hex (#1224, @vphelipe)

Thanks @vphelipe for providing the fix in #1224
This commit is contained in:
Rajeh Taher
2025-01-31 21:22:18 +02:00
parent 9f61f3acf0
commit fcbae0e3f2

View File

@@ -189,8 +189,6 @@ const encodeBinaryNodeInner = (
pushByte(tokenIndex.index)
} else if(isNibble(str)) {
writePackedBytes(str, 'nibble')
} else if(isHex(str)) {
writePackedBytes(str, 'hex')
} else if(str) {
const decodedJid = jidDecode(str)
if(decodedJid) {