You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Faster room joins: device_lists.left not emitted in /sync response when completing the join and discovering that a user is actually not in the room
#13886
Open
matrixbot opened this issue
Dec 20, 2023
· 0 comments
See the commented out check in the TestPartialStateJoin/Device_list_tracking/Device_list_no_longer_tracked_for_user_incorrectly_believed_to_be_in_room complement test.
That test case is roughly:
A room starts with @charlie:remote, @derek:remote (moderator) and @fred:remote (admin)
@fred:remote leaves the room.
@alice:local partial state joins the room.
@elsie:remote joins the room.
@fred:remote "bans" @derek:remote, citing their join event as auth. The local homeserver does not know that @fred:remote is no longer in the room and accepts the event.
@derek:remote kicks @elsie:remote. The local homeserver incorrectly rejects the kick because it thinks @derek:remote has been banned.
The partial state join completes and @elsie:remote is discovered to really have been kicked.
No device_lists.left entry is emitted.
The text was updated successfully, but these errors were encountered:
matrixbot
changed the title
Dummy issue
Faster room joins: device_lists.left not emitted in /sync response when completing the join and discovering that a user is actually not in the room
Dec 21, 2023
This issue has been migrated from #13886.
See the commented out check in the
TestPartialStateJoin/Device_list_tracking/Device_list_no_longer_tracked_for_user_incorrectly_believed_to_be_in_room
complement test.That test case is roughly:
@charlie:remote
,@derek:remote
(moderator) and@fred:remote
(admin)@fred:remote
leaves the room.@alice:local
partial state joins the room.@elsie:remote
joins the room.@fred:remote
"bans"@derek:remote
, citing their join event as auth. The local homeserver does not know that@fred:remote
is no longer in the room and accepts the event.@derek:remote
kicks@elsie:remote
. The local homeserver incorrectly rejects the kick because it thinks@derek:remote
has been banned.@elsie:remote
is discovered to really have been kicked.device_lists.left
entry is emitted.The text was updated successfully, but these errors were encountered: