diff options
author | Erik Johnston <erik@matrix.org> | 2015-02-04 14:06:42 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-02-04 14:06:46 +0000 |
commit | 650e32d45580ddd13826364291bda6760c014df9 (patch) | |
tree | 21098f6310175c946359ebec2bed11894a739fc6 /synapse/handlers | |
parent | Brief comment on why we do some things on every call to persist_event and not... (diff) | |
download | synapse-650e32d45580ddd13826364291bda6760c014df9.tar.xz |
Change context.auth_events to what the auth_events would be bases on context.current_state, rather than based on the auth_events from the event.
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/federation.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py index 0876589e31..2e2c23ef63 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -842,7 +842,9 @@ class FederationHandler(BaseHandler): logger.debug("Different auth: %s", different_auth) # 1. Get what we think is the auth chain. - auth_ids = self.auth.compute_auth_events(event, context) + auth_ids = self.auth.compute_auth_events( + event, context.current_state + ) local_auth_chain = yield self.store.get_auth_chain(auth_ids) try: |