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+=' '+announceDisplayName+''
+ titleStr+=' '+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+=' @'+announceNickname+'@'+announceDomain+''
+ titleStr+=' @'+announceNickname+'@'+announceDomain+''
else:
- titleStr+=' @unattributed'
+ titleStr+=' @unattributed'
else:
- titleStr+=' @unattributed'
+ titleStr+=' @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: