forked from MirrorHub/synapse
78cdb72cd6
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.
1 line
57 B
Text
1 line
57 B
Text
Prune user's old devices on login if they have too many.
|