From 098e7b170aedff7a6f7442e2a16261873c5c8894 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 21 Jul 2021 22:34:33 +0100 Subject: [PATCH] Remove unused functions --- webapp_post.py | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/webapp_post.py b/webapp_post.py index 230bfc57a..1a6fb8291 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -718,22 +718,6 @@ def _announceUnattributedHtml(translate: {}, '" class="announceOrReply">@unattributed\n' -def _announceWithoutDisplayNameHtml(translate: {}, - announceNickname: str, - announceDomain: str, - postJsonObject: {}) -> str: - """Returns html for an announce title where there is no display name - only a handle nick@domain - """ - return ' ' + translate['announces'] + \
-        '\n' + \ - ' @' + \ - announceNickname + '@' + announceDomain + '\n' - - def _announceWithDisplayNameHtml(translate: {}, postJsonObject: {}, announceDisplayName: str) -> str: @@ -899,21 +883,6 @@ def _getReplyHtml(translate: {}, replyDisplayName + '\n' -def _getReplyWithoutDisplayName(translate: {}, - inReplyTo: str, - replyNickname: str, replyDomain: str) -> str: - """Returns html for a reply without a display name, - only a handle nick@domain - """ - return ' ' + \ - '' + translate['replying to'] + \
-        '\n' + ' @' + \ - replyNickname + '@' + replyDomain + '\n' - - def _getPostTitleReplyHtml(baseDir: str, httpPrefix: str, nickname: str, domain: str,