From e8fdcf70dab02cbb6c6463acfca66104cd117e56 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 21 Jul 2021 21:23:22 +0100 Subject: [PATCH] Tidying --- webapp_post.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/webapp_post.py b/webapp_post.py index 6a24846b0..e87c76675 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -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: