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.

This commit is contained in:
Erik Johnston 2015-02-04 14:06:42 +00:00
parent 03d415a6a2
commit 650e32d455
3 changed files with 15 additions and 9 deletions

View file

@ -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: