summary refs log tree commit diff
path: root/synapse/handlers/room.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2020-10-13 23:06:36 +0100
committerRichard van der Hoff <richard@matrix.org>2020-10-13 23:06:36 +0100
commitd9d86c29965ceaf92927f061375a0d7a888aea67 (patch)
tree538292119f67565517ce8be9038bf356f4404be0 /synapse/handlers/room.py
parentMove additional tasks to the background worker, part 4 (#8513) (diff)
downloadsynapse-d9d86c29965ceaf92927f061375a0d7a888aea67.tar.xz
Remove redundant `token_id` parameter to create_event
this is always the same as requester.access_token_id.
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(