mirror of https://gitlab.com/bashrc2/epicyon
Get reply actor for posts without object dict
parent
b0d8da58d8
commit
20d1b34f28
|
@ -1548,6 +1548,12 @@ def _get_post_title_reply_html(base_dir: str,
|
|||
if obj_json.get('attributedTo'):
|
||||
if isinstance(obj_json['attributedTo'], str):
|
||||
reply_actor = obj_json['attributedTo']
|
||||
elif obj_json != reply_post_json:
|
||||
obj_json = reply_post_json
|
||||
if obj_json.get('attributedTo'):
|
||||
if isinstance(obj_json['attributedTo'], str):
|
||||
reply_actor = obj_json['attributedTo']
|
||||
|
||||
if post_domain and not reply_actor:
|
||||
title_str += \
|
||||
_reply_with_unknown_path_html(translate,
|
||||
|
|
Loading…
Reference in New Issue