Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Fix bug in device list caching when remote users leave rooms #13749

Merged
merged 8 commits into from
Sep 14, 2022

Commits on Sep 8, 2022

  1. Fix bug in device list caching when remote users leave rooms

    When a remote user leaves the last room shared with the homeserver, we
    have to mark their device list as unsubscribed, otherwise we will hold
    on to a stale device list in our cache. Crucially, the device list will
    remain cached even after the remote user rejoins the room, which can
    lead to E2EE failures until the remote user's device list next changes.
    
    Signed-off-by: Sean Quah <seanq@matrix.org>
    Sean Quah committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    18e5f60 View commit details
    Browse the repository at this point in the history
  2. Remove redundant mark_remote_user_device_list_as_unsubscribed call

    Now that we are handling device list unsubscriptions in the event
    persistence code, it's no longer necessary to mark device lists as
    unsubscribed elsewhere.
    Sean Quah committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    766b136 View commit details
    Browse the repository at this point in the history
  3. Check whether we still share a room when using cached device lists

    Signed-off-by: Sean Quah <seanq@matrix.org>
    Sean Quah committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    17dd441 View commit details
    Browse the repository at this point in the history
  4. Fix insufficient mocking in test

    Sean Quah committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    10595c8 View commit details
    Browse the repository at this point in the history
  5. Add newsfile

    Sean Quah committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    5a12cb7 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2022

  1. Configuration menu
    Copy the full SHA
    d928704 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b234f4d View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2022

  1. fixup: add comment

    Sean Quah committed Sep 13, 2022
    Configuration menu
    Copy the full SHA
    f104cc1 View commit details
    Browse the repository at this point in the history