main
Bob Mottram 2021-07-21 21:23:22 +01:00
parent 2e8fce3b49
commit e8fdcf70da
1 changed files with 0 additions and 11 deletions

View File

@ -804,12 +804,7 @@ def _getPostTitleAnnounceHtml(baseDir: str,
getPersonFromCache(baseDir, attributedTo, personCache, allowDownloads)
announceDisplayName = getDisplayName(baseDir, attributedTo, personCache)
if not announceDisplayName:
titleStr += \
_announceWithoutDisplayNameHtml(translate, announceNickname,
announceDomain, postJsonObject)
announceDisplayName = announceNickname + '@' + announceDomain
# return (titleStr, replyAvatarImageInPost,
# containerClassIcons, containerClass)
_logPostTiming(enableTimingLog, postStartTime, '13.3')
@ -990,13 +985,7 @@ def _getPostTitleReplyHtml(baseDir: str,
getPersonFromCache(baseDir, replyActor, personCache, allowDownloads)
replyDisplayName = getDisplayName(baseDir, replyActor, personCache)
if not replyDisplayName:
inReplyTo = objJson['inReplyTo']
titleStr += \
_getReplyWithoutDisplayName(translate, inReplyTo,
replyNickname, replyDomain)
replyDisplayName = replyNickname + '@' + replyDomain
# return (titleStr, replyAvatarImageInPost,
# containerClassIcons, containerClass)
# add emoji to the display name
if ':' in replyDisplayName: