mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-21 09:58:46 -04:00
Stop populating state_events.prev_state
(#11558)
this field is never read, so we may as well stop populating it.
This commit is contained in:
parent
9562f0c2f1
commit
86e7a6d16e
3 changed files with 5 additions and 5 deletions
|
@ -1410,10 +1410,6 @@ class PersistEventsStore:
|
|||
"state_key": event.state_key,
|
||||
}
|
||||
|
||||
# TODO: How does this work with backfilling?
|
||||
if hasattr(event, "replaces_state"):
|
||||
vals["prev_state"] = event.replaces_state
|
||||
|
||||
state_values.append(vals)
|
||||
|
||||
self.db_pool.simple_insert_many_txn(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue