-
- Downloads
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>
Showing
- changelog.d/14038.misc 1 addition, 0 deletionschangelog.d/14038.misc
- synapse/handlers/device.py 12 additions, 1 deletionsynapse/handlers/device.py
- synapse/storage/databases/main/devices.py 66 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