mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 21:34:51 -04:00
Allow users that have left the room to view the member list from the point they left
This commit is contained in:
parent
1d579df664
commit
bc8b25eb56
3 changed files with 15 additions and 43 deletions
|
@ -492,9 +492,9 @@ class RoomsMemberListTestCase(RestTestCase):
|
|||
self.assertEquals(200, code, msg=str(response))
|
||||
|
||||
yield self.leave(room=room_id, user=self.user_id)
|
||||
# can no longer see list, you've left.
|
||||
# can see old list once left
|
||||
(code, response) = yield self.mock_resource.trigger_get(room_path)
|
||||
self.assertEquals(403, code, msg=str(response))
|
||||
self.assertEquals(200, code, msg=str(response))
|
||||
|
||||
|
||||
class RoomsCreateTestCase(RestTestCase):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue