From a662f7b951a9bb22aed4007ffc47a3043af21cdb Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 26 May 2024 12:58:23 +0100 Subject: [PATCH] Improve obtaining actor from post path --- inbox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inbox.py b/inbox.py index f402cce0a..548b96c4d 100644 --- a/inbox.py +++ b/inbox.py @@ -3738,7 +3738,7 @@ def _obtain_avatar_for_reply_post(session, base_dir: str, http_prefix: str, if not has_users_path(lookup_actor): return - if '/statuses/' in lookup_actor: + if contains_statuses(lookup_actor): lookup_actor = get_actor_from_post_id(lookup_actor) if debug: