diff --git a/activitypub.py b/activitypub.py index f00a411..854b5e0 100644 --- a/activitypub.py +++ b/activitypub.py @@ -437,7 +437,7 @@ class MicroblogPubBackend(Backend): obj_id = delete.get_object_id() logger.debug("delete object={obj_id}") try: - obj = delete.get_object() + obj = ap.fetch_remote_activity(obj_id) logger.info(f"inbox_delete handle_replies obj={obj!r}") in_reply_to = obj.get_in_reply_to() if obj.inReplyTo else None if obj.has_type(ap.CREATE_TYPES): diff --git a/templates/stream.html b/templates/stream.html index 3d561ca..b9d5768 100644 --- a/templates/stream.html +++ b/templates/stream.html @@ -8,7 +8,6 @@