mirror of https://gitlab.com/bashrc2/epicyon
Support macgirvin replyTo
parent
10c164f013
commit
b8ddbd1030
|
@ -296,6 +296,11 @@ def _getReplyIconHtml(nickname: str, isPublicRepeat: bool,
|
||||||
|
|
||||||
# reply is permitted - create reply icon
|
# reply is permitted - create reply icon
|
||||||
replyToLink = postJsonObject['object']['id']
|
replyToLink = postJsonObject['object']['id']
|
||||||
|
|
||||||
|
# see Mike MacGirvin's replyTo suggestion
|
||||||
|
if postJsonObject['object'].get('replyTo'):
|
||||||
|
replyToLink = postJsonObject['object']['replyTo']
|
||||||
|
|
||||||
if postJsonObject['object'].get('attributedTo'):
|
if postJsonObject['object'].get('attributedTo'):
|
||||||
if isinstance(postJsonObject['object']['attributedTo'], str):
|
if isinstance(postJsonObject['object']['attributedTo'], str):
|
||||||
replyToLink += \
|
replyToLink += \
|
||||||
|
|
Loading…
Reference in New Issue