This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
When a remote user leaves the last room shared with the local homeserver, their cached device list is not invalidated #13651
Open
Description
and /keys/query
continues to return stale information, even after the remote user rejoins the room.
- Have a room with one local user,
@alice:local
and one remote user,@bob:remote
. - Have
@alice:local
do a/keys/query
request to cache@bob:remote
's device list. - Have
@bob:remote
leave the room. @alice:local
observes@bob:remote
in thedevice_lists.left
section of /sync.- (bad) If
@bob:remote
then updates their device list and@alice:local
does a/keys/query
request, a stale response is returned. @bob:remote
rejoins the room.@alice:local
observes@bob:remote
in thedevice_lists.changed
section of /sync.- (very bad) If
@alice:local
does a/keys/query
request, a stale response is still returned.