From 517e44e24af334f70b0a7de765a92f08962cdc1b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 4 Oct 2019 09:42:53 +0100 Subject: [PATCH] Rely/announce avatar links to options --- webinterface.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/webinterface.py b/webinterface.py index 061013d93..2091363f8 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1710,6 +1710,10 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \ if showDMicon: titleStr=titleStr+' ' + messageIdStr='' + if messageId: + messageIdStr=';'+messageId + replyAvatarImageInPost='' if showRepeatIcon: if isAnnounced: @@ -1733,9 +1737,9 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \ if announceAvatarUrl: replyAvatarImageInPost= \ '
' \ - '' \ + '' \ 'Avatar
' else: titleStr+=' @'+announceNickname+'@'+announceDomain+'' @@ -1770,7 +1774,7 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \ if replyAvatarUrl: replyAvatarImageInPost= \ '
' \ - '' \ + '' \ 'Avatar
' @@ -1877,10 +1881,6 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \ ' ' \ ' Avatar' \ ' ' - - messageIdStr='' - if messageId: - messageIdStr=';'+messageId if showAvatarDropdown and fullDomain+'/users/'+nickname not in postJsonObject['actor']: avatarImageInPost= \