diff --git a/webinterface.py b/webinterface.py index e422770f..8ce9703a 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2172,7 +2172,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \ replyStr='' if showIcons: - replyToLink=messageId + replyToLink=postJsonObject['object']['id'] if postJsonObject['object'].get('attributedTo'): replyToLink+='?mention='+postJsonObject['object']['attributedTo'] if postJsonObject['object'].get('content'): @@ -2215,7 +2215,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \ announceLink='unrepeat' announceTitle=translate['Undo the repeat'] announceStr= \ - '' @@ -2250,7 +2250,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \ bookmarkTitle=translate['Undo the bookmark'] bookmarkStr= \ '' @@ -2292,7 +2292,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \ addEmojiToDisplayName(baseDir,httpPrefix, \ nickname,domain, \ announceDisplayName,False) - titleStr+=' '+translate['announces']+' '+announceDisplayName+'' + titleStr+=' '+translate['announces']+' '+announceDisplayName+'' # show avatar of person replied to announceActor=postJsonObject['object']['attributedTo'] announceAvatarUrl=getPersonAvatarUrl(baseDir,announceActor,personCache) @@ -2304,11 +2304,11 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \ 'title="'+translate['Show options for this person']+ \ '" alt=" "'+avatarPosition+'/>' else: - titleStr+=' '+translate['announces']+' @'+announceNickname+'@'+announceDomain+'' + titleStr+=' '+translate['announces']+' @'+announceNickname+'@'+announceDomain+'' else: - titleStr+=' '+translate['announces']+' @unattributed' + titleStr+=' '+translate['announces']+' @unattributed' else: - titleStr+=' '+translate['announces']+' @unattributed' + titleStr+=' '+translate['announces']+' @unattributed' else: if postJsonObject['object'].get('inReplyTo'): containerClassIcons='containericons darker' @@ -2380,7 +2380,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \ if postJsonObject['object'].get('url'): imagePostUrl=postJsonObject['object']['url'] else: - imagePostUrl=messageId + imagePostUrl=postJsonObject['object']['id'] if imageDescription: galleryStr+='
'+imageDescription+'
\n' else: @@ -2418,7 +2418,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \ if postJsonObject['object'].get('url'): videoPostUrl=postJsonObject['object']['url'] else: - videoPostUrl=messageId + videoPostUrl=postJsonObject['object']['id'] if imageDescription: galleryStr+='
'+imageDescription+'
\n' else: @@ -2455,7 +2455,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \ if postJsonObject['object'].get('url'): audioPostUrl=postJsonObject['object']['url'] else: - audioPostUrl=messageId + audioPostUrl=postJsonObject['object']['id'] if imageDescription: galleryStr+='
'+imageDescription+'
\n' else: