forked from indymedia/epicyon
No repeat icon on DMs
parent
2236306f11
commit
7019bd86da
|
@ -23,6 +23,7 @@ from utils import isPublicPost
|
|||
from utils import getDisplayName
|
||||
from follow import isFollowingActor
|
||||
from webfinger import webfingerHandle
|
||||
from posts import isDM
|
||||
from posts import getPersonBox
|
||||
from posts import getUserUrl
|
||||
from posts import parseUserFeed
|
||||
|
@ -1159,6 +1160,7 @@ def individualPostAsHtml(baseDir: str, \
|
|||
else:
|
||||
titleStr+='<a href="'+messageId+'">@'+actorNickname+'@'+actorDomain+'</a>'
|
||||
|
||||
if not isDM(postJsonObject):
|
||||
if isAnnounced:
|
||||
if postJsonObject['object'].get('attributedTo'):
|
||||
announceNickname=getNicknameFromActor(postJsonObject['object']['attributedTo'])
|
||||
|
|
Loading…
Reference in New Issue