forked from indymedia/epicyon
Getting avatar url
parent
c769cbb730
commit
ad89134511
|
@ -1774,8 +1774,8 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
|
||||||
attachmentCtr+=1
|
attachmentCtr+=1
|
||||||
attachmentStr+='</div>'
|
attachmentStr+='</div>'
|
||||||
|
|
||||||
if not avatarUrl:
|
#if not avatarUrl:
|
||||||
avatarUrl=getPersonAvatarUrl(baseDir,postJsonObject['actor'],personCache)
|
avatarUrl=getPersonAvatarUrl(baseDir,postJsonObject['actor'],personCache)
|
||||||
avatarUrl=updateAvatarImageCache(session,baseDir,httpPrefix,postJsonObject['actor'],avatarUrl,personCache)
|
avatarUrl=updateAvatarImageCache(session,baseDir,httpPrefix,postJsonObject['actor'],avatarUrl,personCache)
|
||||||
if not avatarUrl:
|
if not avatarUrl:
|
||||||
avatarUrl=postJsonObject['actor']+'/avatar.png'
|
avatarUrl=postJsonObject['actor']+'/avatar.png'
|
||||||
|
|
Loading…
Reference in New Issue