mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-29 07:28:55 +03:00
c7e29ca277
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>
1 line
57 B
Text
1 line
57 B
Text
Prune user's old devices on login if they have too many.
|