No repeat icon on DMs

master
Bob Mottram 2019-08-25 18:22:24 +01:00
parent 2236306f11
commit 7019bd86da
1 changed files with 31 additions and 29 deletions

View File

@ -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'])