diff options
author | Erik Johnston <erik@matrix.org> | 2019-01-23 16:50:06 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-01-23 16:51:46 +0000 |
commit | 67cd4dad81ed2932009472da2d13648ca11eab73 (patch) | |
tree | 2e95db3676cc00b59b2853c6066b91b65bfb91a0 /synapse/handlers | |
parent | isort (diff) | |
download | synapse-67cd4dad81ed2932009472da2d13648ca11eab73.tar.xz |
Implement MSC 1813 - Add room version to make APIs
We also implement `make_membership_event` converting the returned room version to an event format version.
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/federation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py index a3bb864bb2..d1ba1450e9 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -1336,7 +1336,7 @@ class FederationHandler(BaseHandler): @defer.inlineCallbacks def _make_and_verify_event(self, target_hosts, room_id, user_id, membership, content={}, params=None): - origin, pdu = yield self.federation_client.make_membership_event( + origin, pdu, _ = yield self.federation_client.make_membership_event( target_hosts, room_id, user_id, |