Broadcast user deletions
This commit is contained in:
@ -241,7 +241,7 @@ class ObjectMixin(ActivitypubMixin):
|
||||
return
|
||||
|
||||
# is this a deletion?
|
||||
if hasattr(self, "deleted") and self.deleted:
|
||||
if (hasattr(self, "deleted") and self.deleted) or hasattr(self, "is_active") and not self.is_active:
|
||||
activity = self.to_delete_activity(user)
|
||||
else:
|
||||
activity = self.to_update_activity(user)
|
||||
|
Reference in New Issue
Block a user