]> cat aescling's git repositories - mastodon.git/commit
Don't leave behind husk of remotely-deleted profile (#6159)
authorEugen Rochko <eugen@zeonfederated.com>
Tue, 2 Jan 2018 23:38:02 +0000 (00:38 +0100)
committerGitHub <noreply@github.com>
Tue, 2 Jan 2018 23:38:02 +0000 (00:38 +0100)
commitd60fd87e0191ad05d8dd7f2e8d7d265db6f168d3
tree31efda00b160bec56dc50c41e7c9ea6d9fd9e44e
parent94230fe565cf20ba10f6d0cd6f090a4520c174ca
Don't leave behind husk of remotely-deleted profile (#6159)

There's no reason for an Account record to persist after Delete->Actor is received. SuspendAccountService is necessary to make sure deleted toots get sent over streaming API properly and home feeds get cleaned up. By removing Account record, we can ensure that if in the future the account is restored remotely (or username reused), it can start with a clean slate.
app/lib/activitypub/activity/delete.rb