mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 03:04:28 +00:00
Bugfix
This commit is contained in:
parent
3d8d3efd25
commit
7aff43f0f6
1 changed files with 1 additions and 1 deletions
2
tasks.py
2
tasks.py
|
@ -107,7 +107,7 @@ def process_new_activity(self, iri: str) -> None:
|
|||
should_forward = True
|
||||
|
||||
elif activity.has_type(ap.ActivityType.LIKE):
|
||||
if not activity.get_object_id.startswith(BASE_URL):
|
||||
if not activity.get_object_id().startswith(BASE_URL):
|
||||
# We only want to keep a like if it's a like for a local activity
|
||||
# (Pleroma relay the likes it received, we don't want to store them)
|
||||
should_delete = True
|
||||
|
|
Loading…
Reference in a new issue