Remove redundant token_id parameter to create_event

this is always the same as requester.access_token_id.
This commit is contained in:
Richard van der Hoff 2020-10-13 23:06:36 +01:00
parent 629a951b49
commit d9d86c2996
4 changed files with 3 additions and 8 deletions

View file

@ -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(