When Element Call sees the bot join, it rotates its encryption key (index 0 → 1). The on_encryption_key callback was calling set_key() (per-participant) which has no effect in shared-key mode. Switch to set_shared_key() so the shared-key decryption path stays current when the caller rotates keys.
14 KiB
14 KiB