0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-10-03 15:09:12 +02:00

Fix merge mistakes

This commit is contained in:
Tulir Asokan 2022-05-10 14:55:49 +03:00
parent 73a6f931ea
commit 6d1525885c
2 changed files with 2 additions and 2 deletions

View file

@ -138,7 +138,7 @@ class ReceiptsHandler:
return True
async def received_client_receipt(
self, room_id: str, receipt_type: str, user_id: str, event_id: str
self, room_id: str, receipt_type: str, user_id: str, event_id: str,
extra_content: Optional[JsonDict] = None,
) -> None:
"""Called when a client tells us a local user has read up to the given

View file

@ -76,7 +76,7 @@ class ReceiptRestServlet(RestServlet):
if pattern.match(user_agent) or "Riot" in user_agent:
allow_empty_body = True
# This call makes sure possible empty body is handled correctly
parse_json_object_from_request(request, allow_empty_body)
body = parse_json_object_from_request(request, allow_empty_body)
await self.presence_handler.bump_presence_active_time(requester.user)