synapse-old/synapse/storage/databases
Erik Johnston c7e29ca277
POC delete stale non-e2e devices for users (#14038)
This should help reduce the number of devices e.g. simple bots the repeatedly login rack up.

We only delete non-e2e devices as they should be safe to delete, whereas if we delete e2e devices for a user we may accidentally break their ability to receive e2e keys for a message.

Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>
2022-11-29 10:36:41 +00:00
..
main POC delete stale non-e2e devices for users (#14038) 2022-11-29 10:36:41 +00:00
state Optimize `filter_events_for_client` for faster `/messages` - v2 (#14527) 2022-11-22 21:56:28 +00:00
__init__.py Ensure that `get_datastores().main` is typed (#12070) 2022-02-25 10:20:40 +00:00