From 7aff43f0f60378d3b5bea74f3f93430d661ac5b6 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sun, 5 Aug 2018 19:31:47 +0200 Subject: [PATCH] Bugfix --- tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks.py b/tasks.py index d1c3356..dfc7644 100644 --- a/tasks.py +++ b/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