Discard remote boosts
This commit is contained in:
parent
33a8864eb4
commit
0c6049b81c
4 changed files with 35 additions and 21 deletions
|
@ -74,6 +74,9 @@ class ActivityObject:
|
|||
model.activity_serializer)
|
||||
)
|
||||
|
||||
if hasattr(model, 'ignore_activity') and model.ignore_activity(self):
|
||||
return instance
|
||||
|
||||
# check for an existing instance, if we're not updating a known obj
|
||||
instance = instance or model.find_existing(self.serialize()) or model()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue