Title links to options

merge-requests/6/head
Bob Mottram 2020-01-02 23:26:13 +00:00
parent 80db3b9f93
commit 5247c7c2ee
1 changed files with 2 additions and 2 deletions

View File

@ -2265,7 +2265,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
addEmojiToDisplayName(baseDir,httpPrefix, \
nickname,domain, \
displayName,False)
titleStr+='<a href="'+postActor+'">'+displayName+'</a>'
titleStr+='<a href="/users/'+nickname+'?options='+postActor+';'+str(pageNumber)+';'+avatarUrl+messageIdStr+'">'+displayName+'</a>'
else:
if not messageId:
#pprint(postJsonObject)
@ -2276,7 +2276,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
if not actorDomain:
#pprint(postJsonObject)
print('ERROR: no actorDomain')
titleStr+='<a href="'+postActor+'">@'+actorNickname+'@'+actorDomain+'</a>'
titleStr+='<a href="/users/'+nickname+'?options='+postActor+';'+str(pageNumber)+';'+avatarUrl+messageIdStr+'">@'+actorNickname+'@'+actorDomain+'</a>'
# Show a DM icon for DMs in the inbox timeline
if showDMicon: