summary refs log tree commit diff
path: root/synapse/rest/client
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/rest/client')
-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)