Session-health monitor + JID canonicalization helpers.
Detects bursts of undecryptable (CIPHERTEXT) messages per contact — the
signature of a broken Signal session — and canonicalizes JIDs across the
PN/LID split so a contact is always keyed the same way.
Session-health monitor + JID canonicalization helpers. Detects bursts of undecryptable (CIPHERTEXT) messages per contact — the signature of a broken Signal session — and canonicalizes JIDs across the PN/LID split so a contact is always keyed the same way.