-
- Downloads
Delete stale non-e2e devices for users, take 2 (#14595)
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.
Showing
- changelog.d/14595.misc 1 addition, 0 deletionschangelog.d/14595.misc
- synapse/handlers/device.py 30 additions, 1 deletionsynapse/handlers/device.py
- synapse/storage/databases/main/devices.py 78 additions, 1 deletionsynapse/storage/databases/main/devices.py
- tests/handlers/test_device.py 1 addition, 1 deletiontests/handlers/test_device.py
- tests/storage/test_client_ips.py 3 additions, 1 deletiontests/storage/test_client_ips.py
Loading
Please register or sign in to comment