diff options
author | Erik Johnston <erik@matrix.org> | 2017-06-19 12:40:29 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-06-19 12:40:29 +0100 |
commit | 5db7070dd1585dabc7dc09cd31147c926bd18a87 (patch) | |
tree | 7b96ac72ac2777a12b32aab9b8234b399c0b00d2 /synapse/rest/client/v1/admin.py | |
parent | Add shutdown room API (diff) | |
download | synapse-5db7070dd1585dabc7dc09cd31147c926bd18a87.tar.xz |
Forget room
Diffstat (limited to 'synapse/rest/client/v1/admin.py')
-rw-r--r-- | synapse/rest/client/v1/admin.py | 2 |
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) |