From f7cc9a48ff2bebcea0e98e6d17da3af5177b3566 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 9 Oct 2019 14:44:01 +0100 Subject: [PATCH] Getting actors from cache --- webinterface.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webinterface.py b/webinterface.py index 2eee2915..9791e3bc 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1731,6 +1731,7 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \ announceNickname=getNicknameFromActor(postJsonObject['object']['attributedTo']) if announceNickname: announceDomain,announcePort=getDomainFromActor(postJsonObject['object']['attributedTo']) + getPersonFromCache(baseDir,postJsonObject['object']['attributedTo'],personCache) announceDisplayName=getDisplayName(baseDir,postJsonObject['object']['attributedTo'],personCache) if announceDisplayName: announceDisplayName= \ @@ -1768,6 +1769,7 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \ if replyNickname: replyDomain,replyPort=getDomainFromActor(replyActor) if replyNickname and replyDomain: + getPersonFromCache(baseDir,replyActor,personCache) replyDisplayName=getDisplayName(baseDir,replyActor,personCache) if replyDisplayName: replyDisplayName= \