Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Add support for knocking to workers #15133

Merged
merged 10 commits into from
Mar 2, 2023
Prev Previous commit
Next Next commit
user -> user_id for _remote_knock_client
  • Loading branch information
dklimpel committed Feb 24, 2023
commit dcf9f4ecce2e15b0da6ad7a94cf07f0fe15743e6
2 changes: 1 addition & 1 deletion synapse/handlers/room_member_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ async def remote_knock(
ret = await self._remote_knock_client(
remote_room_hosts=remote_room_hosts,
room_id=room_id,
user=user,
user_id=user.to_string,
content=content,
)
return ret["event_id"], ret["stream_id"]
Expand Down