Merge pull request #3614 from matrix-org/rav/stop_populating_event_content

Stop populating events.content
This commit is contained in:
Richard van der Hoff 2018-07-26 22:54:08 +01:00 committed by GitHub
commit 65c8dee900
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 99 additions and 2 deletions

View file

@ -1188,7 +1188,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,