From ad8913451126edce1619f9dd5c08337c363916f5 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 16 Sep 2019 21:24:05 +0100 Subject: [PATCH] Getting avatar url --- webinterface.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webinterface.py b/webinterface.py index 2dfb8e64..59e6c849 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1774,8 +1774,8 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \ attachmentCtr+=1 attachmentStr+='' - 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'