From 717411fe7b62de3c19771072914a2128bbee22c8 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 21 Jul 2021 21:38:35 +0100 Subject: [PATCH] Test without repeat --- webapp_post.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/webapp_post.py b/webapp_post.py index c14cf8035..8c0be3c83 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -827,6 +827,7 @@ def _getPostTitleAnnounceHtml(baseDir: str, if not announceAvatarUrl: announceAvatarUrl = '' + idx = 'Show options for this person' if '/users/news/' not in announceAvatarUrl: replyAvatarImageInPost = \ @@ -835,10 +836,8 @@ def _getPostTitleAnnounceHtml(baseDir: str, 'href="/users/' + nickname + '?options=' + \ announceActor + ';' + str(pageNumber) + \ ';' + announceAvatarUrl + messageIdStr + '">' \ - ' \n \n' return (titleStr, replyAvatarImageInPost, @@ -1046,9 +1045,9 @@ def _getPostTitleHtml(baseDir: str, """ titleStr = '' replyAvatarImageInPost = '' - if not showRepeatIcon: - return (titleStr, replyAvatarImageInPost, - containerClassIcons, containerClass) +# if not showRepeatIcon: +# return (titleStr, replyAvatarImageInPost, +# containerClassIcons, containerClass) if isAnnounced: return _getPostTitleAnnounceHtml(baseDir,