Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When a remote user leaves the last room shared with the local homeserver, their cached device list is not invalidated #13651

Open
matrixbot opened this issue Dec 20, 2023 · 0 comments

Comments

@matrixbot
Copy link
Collaborator

matrixbot commented Dec 20, 2023

This issue has been migrated from #13651.


and /keys/query continues to return stale information, even after the remote user rejoins the room.

  1. Have a room with one local user, @alice:local and one remote user, @bob:remote.
  2. Have @alice:local do a /keys/query request to cache @bob:remote's device list.
  3. Have @bob:remote leave the room.
  4. @alice:local observes @bob:remote in the device_lists.left section of /sync.
  5. (bad) If @bob:remote then updates their device list and @alice:local does a /keys/query request, a stale response is returned.
  6. @bob:remote rejoins the room.
  7. @alice:local observes @bob:remote in the device_lists.changed section of /sync.
  8. (very bad) If @alice:local does a /keys/query request, a stale response is still returned.
@matrixbot matrixbot changed the title Dummy issue When a remote user leaves the last room shared with the local homeserver, their cached device list is not invalidated Dec 21, 2023
@matrixbot matrixbot reopened this Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant