mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 21:04:50 -04:00
During room intial sync, only calculate current state once.
This commit is contained in:
parent
76c5a5c2f6
commit
d94f682a4c
4 changed files with 43 additions and 21 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue