summary refs log tree commit diff
path: root/synapse/federation
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-01-30 22:13:02 +0000
committerGitHub <noreply@github.com>2020-01-30 22:13:02 +0000
commit46a446828d1b4b1ca2d9b0dcae97323a1bbc0c0b (patch)
treefe00a95963e4a411e9982cb7b0bcd1be5acb5bd9 /synapse/federation
parentLog when we delete room in bg update (#6816) (diff)
downloadsynapse-46a446828d1b4b1ca2d9b0dcae97323a1bbc0c0b.tar.xz
pass room version into FederationHandler.on_invite_request (#6805)
Diffstat (limited to 'synapse/federation')
-rw-r--r--synapse/federation/federation_server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/federation_server.py b/synapse/federation/federation_server.py
index 8eddb3bf2c..9562faa3ee 100644
--- a/synapse/federation/federation_server.py
+++ b/synapse/federation/federation_server.py
@@ -410,7 +410,7 @@ class FederationServer(FederationBase):
         origin_host, _ = parse_server_name(origin)
         await self.check_server_matches_acl(origin_host, pdu.room_id)
         pdu = await self._check_sigs_and_hash(room_version, pdu)
-        ret_pdu = await self.handler.on_invite_request(origin, pdu)
+        ret_pdu = await self.handler.on_invite_request(origin, pdu, room_version)
         time_now = self._clock.time_msec()
         return {"event": ret_pdu.get_pdu_json(time_now)}