diff options
author | Erik Johnston <erik@matrix.org> | 2019-01-24 18:28:00 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-01-24 18:28:00 +0000 |
commit | 26f44164c82c89c08f7ad930f365dbf69759e317 (patch) | |
tree | 08f7d7d78728d2d8db27f1fc87fa5eec735102a5 /synapse/federation | |
parent | Newsfile (diff) | |
download | synapse-26f44164c82c89c08f7ad930f365dbf69759e317.tar.xz |
Review comments
Diffstat (limited to 'synapse/federation')
-rw-r--r-- | synapse/federation/federation_client.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/federation/federation_client.py b/synapse/federation/federation_client.py index 0757ad12f4..c43f21a0ba 100644 --- a/synapse/federation/federation_client.py +++ b/synapse/federation/federation_client.py @@ -543,7 +543,8 @@ class FederationClient(FederationBase): Return: Deferred[tuple[str, dict, int]]: resolves to a tuple of `(origin, event, event_format)` where origin is the remote - homeserver which generated the event. + homeserver which generated the event, and event_format is one of + `synapse.api.constants.EventFormatVersions`. Fails with a ``SynapseError`` if the chosen remote server returns a 300/400 code. |