summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-09-09 15:42:16 +0100
committerMark Haines <mark.haines@matrix.org>2015-09-09 15:42:16 +0100
commitbc8b25eb56bf4fcec3546c2ea28741189a519da5 (patch)
tree0ebb5c1b6effdb6732c8afd5d641a89830cf3ec0 /tests
parentAllow rooms/{roomId}/state for a room that has been left (diff)
downloadsynapse-bc8b25eb56bf4fcec3546c2ea28741189a519da5.tar.xz
Allow users that have left the room to view the member list from the point they left
Diffstat (limited to 'tests')
-rw-r--r--tests/rest/client/v1/test_rooms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rest/client/v1/test_rooms.py b/tests/rest/client/v1/test_rooms.py
index 34ab47d02e..d50cfe4298 100644
--- a/tests/rest/client/v1/test_rooms.py
+++ b/tests/rest/client/v1/test_rooms.py
@@ -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):