mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:06:07 -04:00
Don't needlessly compute prev_state
This commit is contained in:
parent
3483b78d1a
commit
55bf90b9e4
3 changed files with 5 additions and 5 deletions
|
@ -78,7 +78,9 @@ class BaseHandler(object):
|
|||
context = yield state_handler.compute_event_context(builder)
|
||||
|
||||
if builder.is_state():
|
||||
builder.prev_state = context.prev_state_events
|
||||
builder.prev_state = yield self.store.add_event_hashes(
|
||||
context.prev_state_events
|
||||
)
|
||||
|
||||
yield self.auth.add_auth_events(builder, context)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue