]> cat aescling's git repositories - mastodon.git/commit
Fix some notifications not being deleted on poll/status deletion (#15402)
authorThibG <thib@sitedethib.com>
Mon, 21 Dec 2020 17:22:17 +0000 (18:22 +0100)
committerGitHub <noreply@github.com>
Mon, 21 Dec 2020 17:22:17 +0000 (18:22 +0100)
commit43961035a906cd8bccdf4c1ac023980b37823bb3
tree9327e444230f7ee3eef18b2109aac371b807ba31
parent6f51fd743590c8fd8dd95e48dc24e4472d46480b
Fix some notifications not being deleted on poll/status deletion (#15402)

* Fix deleting polls not deleting notifications

* Fix fav notification deletion when deleting a toot

* Refactor DeleteAccountService spec

* Add DeleteAccountService tests for other associations and notifications

* Add favourite handling spec in status removal

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
app/models/status.rb
app/services/delete_account_service.rb
spec/services/delete_account_service_spec.rb
spec/services/remove_status_service_spec.rb