From 669fec0c2b6f2f94829806956434c81311e6e559 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Tue, 16 Apr 2019 23:46:34 +0200 Subject: [PATCH] Fix replies handling --- activitypub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activitypub.py b/activitypub.py index a9fe006..60a0e81 100644 --- a/activitypub.py +++ b/activitypub.py @@ -367,7 +367,7 @@ class MicroblogPubBackend(Backend): ) logger.info(f"inbox_delete handle_replies obj={obj!r}") - in_reply_to = obj.get_in_reply_to() + in_reply_to = obj.get_in_reply_to() if obj.inReplyTo else None if delete.get_object().ACTIVITY_TYPE != ap.ActivityType.NOTE: in_reply_to = ap._get_id( DB.activities.find_one(