Skip to content

Commit

Permalink
A user should be able to join again to update their info.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Jul 20, 2021
1 parent 490138c commit 2a154dc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/msc3083_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ func checkRestrictedRoom(t *testing.T, alice *client.CSAPI, bob *client.CSAPI, s
bob.JoinRoom(t, space, []string{"hs1"})
bob.JoinRoom(t, room, []string{"hs1"})

// Joining the same room again should work fine (e.g. to change your display name).
bob.JoinRoom(t, room, []string{"hs1"})

// Leaving the room works and the user is unable to re-join.
bob.LeaveRoom(t, room)
bob.LeaveRoom(t, space)
Expand Down

0 comments on commit 2a154dc

Please sign in to comment.