diff options
author | Erik Johnston <erik@matrix.org> | 2019-03-20 17:39:29 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-03-20 17:40:29 +0000 |
commit | aa959a6c0705067cd01d1fd0ba42f51f320ed51b (patch) | |
tree | fcaa61bbe71c3658d6ecffb9f7165f9611e260ac /synapse/rest | |
parent | Move requester check into assert_accepted_privacy_policy (diff) | |
download | synapse-aa959a6c0705067cd01d1fd0ba42f51f320ed51b.tar.xz |
Use flags
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/client/v1/admin.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/synapse/rest/client/v1/admin.py b/synapse/rest/client/v1/admin.py index 56ad65515a..e788769639 100644 --- a/synapse/rest/client/v1/admin.py +++ b/synapse/rest/client/v1/admin.py @@ -516,7 +516,8 @@ class ShutdownRoomRestServlet(ClientV1RestServlet): room_id=room_id, action=Membership.LEAVE, content={}, - ratelimit=False + ratelimit=False, + require_consent=False, ) yield self.room_member_handler.forget(target_requester.user, room_id) @@ -527,7 +528,8 @@ class ShutdownRoomRestServlet(ClientV1RestServlet): room_id=new_room_id, action=Membership.JOIN, content={}, - ratelimit=False + ratelimit=False, + require_consent=False, ) kicked_users.append(user_id) |