summary refs log tree commit diff
path: root/synapse/storage/events.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2017-05-24 16:46:34 +0100
committerGitHub <noreply@github.com>2017-05-24 16:46:34 +0100
commit11f139a6475a03fe1842bba610b5d0edbf175538 (patch)
tree943e5f099d0a6031db82db43e4159c4d24c0c9b5 /synapse/storage/events.py
parentMerge pull request #2243 from matrix-org/matthew/fix-url-preview-length-again (diff)
parentAdd background task to clear out old event_auth (diff)
downloadsynapse-11f139a6475a03fe1842bba610b5d0edbf175538.tar.xz
Merge pull request #2247 from matrix-org/erikj/auth_event
Only store event_auth for state events
Diffstat (limited to 'synapse/storage/events.py')
-rw-r--r--synapse/storage/events.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py

index c4aeb48800..3d4f53ea55 100644 --- a/synapse/storage/events.py +++ b/synapse/storage/events.py
@@ -1120,6 +1120,7 @@ class EventsStore(SQLBaseStore): } for event, _ in events_and_contexts for auth_id, _ in event.auth_events + if event.is_state() ], )