diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-07-26 14:12:00 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-07-26 14:43:02 +0100 |
commit | 5c1d301fd9e669b6704d54caeb1e8a3a223ba053 (patch) | |
tree | 7bb1a8518ced033b75f22a4e3c253a7783e12509 /synapse/storage/events.py | |
parent | comment on event_edges (diff) | |
download | synapse-5c1d301fd9e669b6704d54caeb1e8a3a223ba053.tar.xz |
Stop populating events.content
This field is no longer read from, so we should stop populating it. Once we're happy that this doesn't break everything, and a rollback is unlikely, we can think about dropping the column.
Diffstat (limited to 'synapse/storage/events.py')
-rw-r--r-- | synapse/storage/events.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py index 200f5ec95f..94515cd153 100644 --- a/synapse/storage/events.py +++ b/synapse/storage/events.py @@ -1189,7 +1189,6 @@ class EventsStore(EventsWorkerStore): "type": event.type, "processed": True, "outlier": event.internal_metadata.is_outlier(), - "content": encode_json(event.content).decode("UTF-8"), "origin_server_ts": int(event.origin_server_ts), "received_ts": self._clock.time_msec(), "sender": event.sender, |