diff --git a/webinterface.py b/webinterface.py index a7c87c5d..ed1d4de2 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1789,6 +1789,7 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \ if showDMicon: titleStr=titleStr+' ' + replyAvatarImageInPost='' if showRepeatIcon: if isAnnounced: if postJsonObject['object'].get('attributedTo'): @@ -1820,6 +1821,15 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \ replyDisplayName=getDisplayName(postJsonObject['object']['inReplyTo'],personCache) if replyDisplayName: titleStr+=' '+replyDisplayName+'' + + replyActor=postJsonObject['object']['inReplyTo'].split('/statuses/')[0] + replyAvatarUrl=getPersonAvatarUrl(baseDir,replyActor,personCache) + if replyAvatarUrl: + replyAvatarImageInPost= \ + '
'+titleStr+'
'+ \ + ''+titleStr+replyAvatarImageInPost+'
'+ \ contentStr+footerStr+ \ '