Event based restore

Is there a feature in Nextcloud to go back to a previous snapshot for a user? Yesterday, a friend on Dropbox got ransomwared, and we could simply go back on the events list to where it all went bad and request a restore from that event onwards. Can Nextcloud do this?