During room intial sync, only calculate current state once.

This commit is contained in:
Erik Johnston 2015-02-09 17:41:29 +00:00
parent 76c5a5c2f6
commit d94f682a4c
4 changed files with 43 additions and 21 deletions

View file

@ -76,7 +76,7 @@ class StateHandler(object):
defer.returnValue(res[1].get((event_type, state_key)))
return
defer.returnValue(res[1].values())
defer.returnValue(res[1])
@defer.inlineCallbacks
def compute_event_context(self, event, old_state=None):