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

Commit

Permalink
Remove breaky type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
richvdh committed Feb 24, 2020
1 parent 743f53e commit 3fa8d92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synapse/replication/http/federation.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

from twisted.internet import defer

from synapse.api.room_versions import KNOWN_ROOM_VERSIONS, RoomVersion
from synapse.api.room_versions import KNOWN_ROOM_VERSIONS
from synapse.events import event_type_from_format_version
from synapse.events.snapshot import EventContext
from synapse.http.servlet import parse_json_object_from_request
Expand Down Expand Up @@ -261,7 +261,7 @@ def __init__(self, hs):
self.store = hs.get_datastore()

@staticmethod
def _serialize_payload(room_id: str, room_version: RoomVersion):
def _serialize_payload(room_id, room_version):
return {"room_version": room_version.identifier}

async def _handle_request(self, request, room_id):
Expand Down

0 comments on commit 3fa8d92

Please sign in to comment.