summary refs log tree commit diff
path: root/synapse/rest/client
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2019-04-03 14:32:20 +0100
committerGitHub <noreply@github.com>2019-04-03 14:32:20 +0100
commit4a4d5c4fd6552037a8660b18360ac7e0050b873f (patch)
treef0c4256ae44418064721a27c9d403acbbdfd70f2 /synapse/rest/client
parentRewrite KeyringTestCase as a HomeServerTestCase (#4986) (diff)
downloadsynapse-4a4d5c4fd6552037a8660b18360ac7e0050b873f.tar.xz
Fix grammar and document get_current_users_in_room (#4998)
Diffstat (limited to 'synapse/rest/client')
-rw-r--r--synapse/rest/client/v1/admin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/admin.py b/synapse/rest/client/v1/admin.py
index 1a26f5a1a6..59526f707e 100644
--- a/synapse/rest/client/v1/admin.py
+++ b/synapse/rest/client/v1/admin.py
@@ -499,7 +499,7 @@ class ShutdownRoomRestServlet(ClientV1RestServlet):
         # desirable in case the first attempt at blocking the room failed below.
         yield self.store.block_room(room_id, requester_user_id)
 
-        users = yield self.state.get_current_user_in_room(room_id)
+        users = yield self.state.get_current_users_in_room(room_id)
         kicked_users = []
         failed_to_kick_users = []
         for user_id in users: