avatar url

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