#89322 fixed the bridge-local normalizeWhatsAppId, but bridge.js has since moved its id handling to bridge_helpers.js::normalizeWhatsAppId, which still turned `<user>:<device>@lid` into the malformed `<user>@<device>@lid` for mentionedJid / quoted participant / reaction keys, and the Python side (gateway/platforms/whatsapp_common.py::_normalize_whatsapp_id) did the same ':'->'@' swap on botIds. Drop the local duplicate in bridge.js, import the helper, and strip the `:<device>` suffix on both layers so the bot's own ids compare equal to the bare ids WhatsApp sends for mentions and quotes. One invariant test: device-qualified botIds match a bare mentionedId and a bare quotedParticipant; a plain group message still does not trigger.
2 lines
8 B
Plaintext
2 lines
8 B
Plaintext
eranbes
|