summary refs log tree commit diff
path: root/synapse/handlers/room.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-10-15 10:20:19 +0100
committerGitHub <noreply@github.com>2020-10-15 10:20:19 +0100
commit4433d0151965b0c8f717ac609a6b3712ad7ef8b7 (patch)
tree0698fb60715b888f838932a0410590e6ec138e83 /synapse/handlers/room.py
parentUse autocommit mode for single statement DB functions. (#8542) (diff)
parentchangelog (diff)
downloadsynapse-4433d0151965b0c8f717ac609a6b3712ad7ef8b7.tar.xz
Merge pull request #8537 from matrix-org/rav/simplify_locally_reject_invite
Simplify `_locally_reject_invite`
Diffstat (limited to 'synapse/handlers/room.py')
-rw-r--r--synapse/handlers/room.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py
index 93ed51063a..ec300d8877 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -214,7 +214,6 @@ class RoomCreationHandler(BaseHandler):
                     "replacement_room": new_room_id,
                 },
             },
-            token_id=requester.access_token_id,
         )
         old_room_version = await self.store.get_room_version_id(old_room_id)
         await self.auth.check_from_context(