anonymousland-synapse/synapse/storage
Richard van der Hoff e203874caa
get rid of (most of) have_events from _update_auth_events_and_context_for_auth (#6468)
have_events was a map from event_id to rejection reason (or None) for events
which are in our local database. It was used as filter on the list of
event_ids being passed into get_events_as_list. However, since
get_events_as_list will ignore any event_ids that are unknown or rejected, we
can equivalently just leave it to get_events_as_list to do the filtering.

That means that we don't have to keep `have_events` up-to-date, and can use
`have_seen_events` instead of `get_seen_events_with_rejection` in the one place
we do need it.
2019-12-04 17:27:32 +00:00
..
data_stores get rid of (most of) have_events from _update_auth_events_and_context_for_auth (#6468) 2019-12-04 17:27:32 +00:00
engines Merge pull request #6156 from matrix-org/erikj/postgres_any 2019-10-10 16:41:36 +01:00
schema Move schema delta files to the correct data store. 2019-10-24 16:45:03 +01:00
util Update black to 19.10b0 (#6304) 2019-11-01 02:43:24 +11:00
__init__.py Merge branch 'develop' of github.com:matrix-org/synapse into erikj/split_purge_history 2019-10-31 15:19:26 +00:00
_base.py Revert "Move get_user_count_txn out of base store" 2019-12-04 15:46:19 +00:00
background_updates.py Add CI for synapse_port_db (#6140) 2019-10-28 17:45:32 +00:00
keys.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
persist_events.py Merge pull request #6294 from matrix-org/erikj/add_state_storage 2019-10-31 16:17:53 +01:00
prepare_database.py Clean up newline quote marks around the codebase (#6362) 2019-11-21 12:00:14 +00:00
presence.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
purge_events.py Change to not require a state_groups.room_id index. 2019-11-04 13:36:57 +00:00
push_rule.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
relations.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
roommember.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
state.py Apply suggestions from code review 2019-10-31 15:44:31 +01:00