decode-wa-message: linting

This commit is contained in:
Rajeh Taher
2025-09-26 15:41:42 +03:00
parent 6ba7a8cdcf
commit b9f128472e
+1 -2
View File
@@ -174,7 +174,7 @@ export function decodeMessageNode(stanza: BinaryNode, meId: string, meLid: strin
msgType = isParticipantMe ? 'peer_broadcast' : 'other_broadcast'
}
fromMe = isParticipantMe;
fromMe = isParticipantMe
chatId = from!
author = participant
} else if (isJidNewsletter(from)) {
@@ -185,7 +185,6 @@ export function decodeMessageNode(stanza: BinaryNode, meId: string, meLid: strin
if (isMe(from!) || isMeLid(from!)) {
fromMe = true
}
} else {
throw new Boom('Unknown message type', { data: stanza })
}