diff options
author | Erik Johnston <erikj@jki.re> | 2017-05-24 16:46:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-24 16:46:34 +0100 |
commit | 11f139a6475a03fe1842bba610b5d0edbf175538 (patch) | |
tree | 943e5f099d0a6031db82db43e4159c4d24c0c9b5 /synapse/storage/events.py | |
parent | Merge pull request #2243 from matrix-org/matthew/fix-url-preview-length-again (diff) | |
parent | Add background task to clear out old event_auth (diff) | |
download | synapse-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.py | 1 |
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() ], ) |