Fixes duplicate boosts
This commit is contained in:
parent
45fcb0f454
commit
9148f36719
2 changed files with 23 additions and 10 deletions
|
@ -204,7 +204,11 @@ class ObjectMixin(ActivitypubMixin):
|
|||
created = created or not bool(self.id)
|
||||
# first off, we want to save normally no matter what
|
||||
super().save(*args, **kwargs)
|
||||
if not broadcast:
|
||||
if (
|
||||
not broadcast
|
||||
or hasattr(self, "status_type")
|
||||
and self.status_type == "Announce"
|
||||
):
|
||||
return
|
||||
|
||||
# this will work for objects owned by a user (lists, shelves)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue