Only store event_auth for state events

This commit is contained in:
Erik Johnston 2017-05-24 14:22:41 +01:00
parent 58c4720293
commit c049472b8a
3 changed files with 44 additions and 12 deletions

View file

@ -1120,6 +1120,7 @@ class EventsStore(SQLBaseStore):
}
for event, _ in events_and_contexts
for auth_id, _ in event.auth_events
if event.is_state()
],
)