summary refs log tree commit diff
path: root/synapse/handlers/room_member.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_member.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_member.py')
-rw-r--r--synapse/handlers/room_member.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/handlers/room_member.py b/synapse/handlers/room_member.py
index 0080eeaf8d..d9b98d8acd 100644
--- a/synapse/handlers/room_member.py
+++ b/synapse/handlers/room_member.py
@@ -193,7 +193,6 @@ class RoomMemberHandler(metaclass=abc.ABCMeta):
                 # For backwards compatibility:
                 "membership": membership,
             },
-            token_id=requester.access_token_id,
             txn_id=txn_id,
             prev_event_ids=prev_event_ids,
             require_consent=require_consent,