Skip to content

Commit 2a154dc

Browse files
committed
A user should be able to join again to update their info.
1 parent 490138c commit 2a154dc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/msc3083_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ func checkRestrictedRoom(t *testing.T, alice *client.CSAPI, bob *client.CSAPI, s
9090
bob.JoinRoom(t, space, []string{"hs1"})
9191
bob.JoinRoom(t, room, []string{"hs1"})
9292

93+
// Joining the same room again should work fine (e.g. to change your display name).
94+
bob.JoinRoom(t, room, []string{"hs1"})
95+
9396
// Leaving the room works and the user is unable to re-join.
9497
bob.LeaveRoom(t, room)
9598
bob.LeaveRoom(t, space)

0 commit comments

Comments
 (0)