forked from indymedia/epicyon
Getting actors from cache
parent
2d3c826eb4
commit
f7cc9a48ff
|
@ -1731,6 +1731,7 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
|
||||||
announceNickname=getNicknameFromActor(postJsonObject['object']['attributedTo'])
|
announceNickname=getNicknameFromActor(postJsonObject['object']['attributedTo'])
|
||||||
if announceNickname:
|
if announceNickname:
|
||||||
announceDomain,announcePort=getDomainFromActor(postJsonObject['object']['attributedTo'])
|
announceDomain,announcePort=getDomainFromActor(postJsonObject['object']['attributedTo'])
|
||||||
|
getPersonFromCache(baseDir,postJsonObject['object']['attributedTo'],personCache)
|
||||||
announceDisplayName=getDisplayName(baseDir,postJsonObject['object']['attributedTo'],personCache)
|
announceDisplayName=getDisplayName(baseDir,postJsonObject['object']['attributedTo'],personCache)
|
||||||
if announceDisplayName:
|
if announceDisplayName:
|
||||||
announceDisplayName= \
|
announceDisplayName= \
|
||||||
|
@ -1768,6 +1769,7 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
|
||||||
if replyNickname:
|
if replyNickname:
|
||||||
replyDomain,replyPort=getDomainFromActor(replyActor)
|
replyDomain,replyPort=getDomainFromActor(replyActor)
|
||||||
if replyNickname and replyDomain:
|
if replyNickname and replyDomain:
|
||||||
|
getPersonFromCache(baseDir,replyActor,personCache)
|
||||||
replyDisplayName=getDisplayName(baseDir,replyActor,personCache)
|
replyDisplayName=getDisplayName(baseDir,replyActor,personCache)
|
||||||
if replyDisplayName:
|
if replyDisplayName:
|
||||||
replyDisplayName= \
|
replyDisplayName= \
|
||||||
|
|
Loading…
Reference in New Issue