summary refs log tree commit diff
path: root/synapse/rest/client/v1/admin.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-06-19 12:40:29 +0100
committerErik Johnston <erik@matrix.org>2017-06-19 12:40:29 +0100
commit5db7070dd1585dabc7dc09cd31147c926bd18a87 (patch)
tree7b96ac72ac2777a12b32aab9b8234b399c0b00d2 /synapse/rest/client/v1/admin.py
parentAdd shutdown room API (diff)
downloadsynapse-5db7070dd1585dabc7dc09cd31147c926bd18a87.tar.xz
Forget room
Diffstat (limited to 'synapse/rest/client/v1/admin.py')
-rw-r--r--synapse/rest/client/v1/admin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/rest/client/v1/admin.py b/synapse/rest/client/v1/admin.py
index 086f7a0984..f2e1b56c7d 100644
--- a/synapse/rest/client/v1/admin.py
+++ b/synapse/rest/client/v1/admin.py
@@ -207,6 +207,8 @@ class ShutdownRoomRestServlet(ClientV1RestServlet):
                 content={},
             )
 
+            yield self.handlers.room_member_handler.forget(target_requester.user, room_id)
+
             kicked_users.append(user_id)
 
         aliases_for_room = yield self.store.get_aliases_for_room(room_id)