Link to actor

main
Bob Mottram 2020-01-02 23:16:20 +00:00
parent 257e75fa5d
commit 80db3b9f93
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="'+avatarUrl+'">'+displayName+'</a>'
titleStr+='<a href="'+postActor+'">'+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="'+avatarUrl+'">@'+actorNickname+'@'+actorDomain+'</a>'
titleStr+='<a href="'+postActor+'">@'+actorNickname+'@'+actorDomain+'</a>'
# Show a DM icon for DMs in the inbox timeline
if showDMicon: