Getting avatar url

main2
Bob Mottram 2019-09-16 21:24:05 +01:00
parent c769cbb730
commit ad89134511
1 changed files with 2 additions and 2 deletions

View File

@ -1774,8 +1774,8 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
attachmentCtr+=1
attachmentStr+='</div>'
if not avatarUrl:
avatarUrl=getPersonAvatarUrl(baseDir,postJsonObject['actor'],personCache)
#if not avatarUrl:
avatarUrl=getPersonAvatarUrl(baseDir,postJsonObject['actor'],personCache)
avatarUrl=updateAvatarImageCache(session,baseDir,httpPrefix,postJsonObject['actor'],avatarUrl,personCache)
if not avatarUrl:
avatarUrl=postJsonObject['actor']+'/avatar.png'