You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-20 22:21:59 +03:00
If we have shared the session with a device which is subsequently blacklisted, we need to start a new session for the next message. Rather than doing this proactively (which would be subject to false-positives and require slightly awkward tracking of who we had shared the session with), we check the list of who we have shared the session with on each send, and start a new session if any of them are blocked. Fixes https://github.com/vector-im/riot-web/issues/2146.