This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Remove backwards compat hack from EventContext
serialzation code
#15777
Labels
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Tolerable
Minor significance, cosmetic issues, low or no impact to users.
T-Task
Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.
Z-Future-Maintenance
Things that can't yet be done, but will need cleaning up in a couple of months/releases
Milestone
#15233 changed the format of
EventContext
and as such required two small hacks to make the serialization backwards compatible:synapse/synapse/events/snapshot.py
Lines 206 to 212 in 553f2f5
synapse/synapse/events/snapshot.py
Lines 189 to 191 in 553f2f5
We should remove these after a few (let's say 4?) releases. The second one (lines 189-191) can just be removed, and the first one just requires a change:
and the removal of the
if
statement.The text was updated successfully, but these errors were encountered: