mirror of https://gitlab.com/bashrc2/epicyon
Improve obtaining actor from post path
parent
65aba06e11
commit
a662f7b951
2
inbox.py
2
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):
|
if not has_users_path(lookup_actor):
|
||||||
return
|
return
|
||||||
|
|
||||||
if '/statuses/' in lookup_actor:
|
if contains_statuses(lookup_actor):
|
||||||
lookup_actor = get_actor_from_post_id(lookup_actor)
|
lookup_actor = get_actor_from_post_id(lookup_actor)
|
||||||
|
|
||||||
if debug:
|
if debug:
|
||||||
|
|
Loading…
Reference in New Issue