Skip to content

Commit

Permalink
Fix feturn value of RoomMemberWorkerHandler.remote_knock
Browse files Browse the repository at this point in the history
  • Loading branch information
anoadragon453 committed Nov 24, 2020
1 parent 7f3c188 commit 5d3365e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion synapse/handlers/room_member_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,13 @@ async def remote_knock(
Implements RoomMemberHandler.remote_knock
"""
return await self._remote_knock_client(
ret = await self._remote_knock_client(
remote_room_hosts=remote_room_hosts,
room_id=room_id,
user=user,
content=content,
)
return ret["event_id"], ret["stream_id"]

async def _user_left_room(self, target: UserID, room_id: str) -> None:
"""Implements RoomMemberHandler._user_left_room
Expand Down

0 comments on commit 5d3365e

Please sign in to comment.