diff options
author | Erik Johnston <erik@matrix.org> | 2014-11-07 15:35:53 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-11-07 15:35:53 +0000 |
commit | 02c3b1c9e2afa27753e9ce898e5455b6489541b4 (patch) | |
tree | 48bda5021f9fce4d52aa0b70fe47ee6a1bc2be56 /synapse/federation/replication.py | |
parent | Implement invite part of invite join dance (diff) | |
download | synapse-02c3b1c9e2afa27753e9ce898e5455b6489541b4.tar.xz |
Add '/event_auth/' federation api
Diffstat (limited to 'synapse/federation/replication.py')
-rw-r--r-- | synapse/federation/replication.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/federation/replication.py b/synapse/federation/replication.py index e358de942e..719bfcc42c 100644 --- a/synapse/federation/replication.py +++ b/synapse/federation/replication.py @@ -427,6 +427,11 @@ class ReplicationLayer(object): })) @defer.inlineCallbacks + def on_event_auth(self, origin, context, event_id): + auth_pdus = yield self.handler.on_event_auth(event_id) + defer.returnValue((200, [a.get_dict() for a in auth_pdus])) + + @defer.inlineCallbacks def make_join(self, destination, context, user_id): pdu_dict = yield self.transport_layer.make_join( destination=destination, |