mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-05 06:28:20 -04:00
Fixes https://github.com/element-hq/element-meta/issues/2697 Fixes https://github.com/element-hq/crypto-internal/issues/398 I'm sorry it's a big change. I've tried to break it into decent commits, and I did a couple of preparatory PRs to make it less painful, but it's still a bit to get your head around. The basic idea is that when a session is updated and we call `retry_event_decryption`, we don't only look at UTDs any more - now we also look at decrypted events, and re-request their `EncryptionInfo`, in case it has improved. --------- Signed-off-by: Andy Balaam <mail@artificialworlds.net> Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Co-authored-by: Benjamin Bouvier <benjamin@bouvier.cc>