diff --git a/webinterface.py b/webinterface.py index 80ab356d..99487478 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1799,6 +1799,16 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \ announceDisplayName=getDisplayName(postJsonObject['object']['attributedTo'],personCache) if announceDisplayName: titleStr+=' '+announceDisplayName+'' + # show avatar of person replied to + announceActor=postJsonObject['object']['attributedTo'] + announceAvatarUrl=getPersonAvatarUrl(baseDir,announceActor,personCache) + if announceAvatarUrl: + replyAvatarImageInPost= \ + '
' \ + '' \ + 'Avatar
' else: titleStr+=' @'+announceNickname+'@'+announceDomain+'' else: