diff options
author | Erik Johnston <erikj@jki.re> | 2019-01-24 18:32:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-24 18:32:30 +0000 |
commit | 664b7a2920ee481359e0cf3df35a16ec0948526e (patch) | |
tree | 8d3d6e7357ce5382fc9d0611ff97b6060a495ccc /synapse/storage/events.py | |
parent | Merge pull request #4461 from matrix-org/anoa/room_dir_quick_fix (diff) | |
parent | Update newsfile (diff) | |
download | synapse-664b7a2920ee481359e0cf3df35a16ec0948526e.tar.xz |
Merge pull request #4437 from matrix-org/erikj/event_format_version_v2
Add support for persisting event format versions
Diffstat (limited to 'synapse/storage/events.py')
-rw-r--r-- | synapse/storage/events.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py index 79e0276de6..3e1915fb87 100644 --- a/synapse/storage/events.py +++ b/synapse/storage/events.py @@ -1268,6 +1268,7 @@ class EventsStore(StateGroupWorkerStore, EventFederationStore, EventsWorkerStore event.internal_metadata.get_dict() ), "json": encode_json(event_dict(event)), + "format_version": event.format_version, } for event, _ in events_and_contexts ], |