This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Don't include redundant prev_state
in new events
#12891
Labels
A-DAG
Directed acyclic graph of events (events connected by prev_events)
good first issue
Good for newcomers
T-Task
Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.
These need to remain on any existing events so that hashes and signatures etc remain valid. But there is no reason for them hang around. As Rich wrote on MSC2176:
See matrix-org/matrix-spec#1091 and matrix-org/matrix-spec-proposals#2176
I think we can remove
prev_state
from heresynapse/synapse/events/builder.py
Lines 155 to 165 in e0bb268
and here
synapse/synapse/federation/federation_client.py
Lines 800 to 804 in bf0c3ca
The text was updated successfully, but these errors were encountered: