From ac6ad37c74586a9b0d07a3cabffb4e74de78cf5f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 11 Oct 2020 12:29:07 +0100 Subject: [PATCH] Include statuses --- webinterface.py | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/webinterface.py b/webinterface.py index ed07660e4..dfd47ad0b 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5166,8 +5166,13 @@ def individualPostAsHtml(allowDownloads: bool, domain + ':' + str(port) + '/users/' in publishedLink: publishedLink = '/users/' + publishedLink.split('/users/')[1] - footerStr = '' + publishedStr + '\n' + if not isNewsPost(postJsonObject): + footerStr = '' + publishedStr + '\n' + else: + footerStr = '' + publishedStr + '\n' # change the background color for DMs in inbox timeline if showDMicon: @@ -5178,8 +5183,14 @@ def individualPostAsHtml(allowDownloads: bool, footerStr = '\n
\n' footerStr += replyStr + announceStr + likeStr + bookmarkStr + \ deleteStr + muteStr + editStr - footerStr += ' ' + publishedStr + '\n' + if not isNewsPost(postJsonObject): + footerStr += ' ' + publishedStr + '\n' + else: + footerStr += ' ' + publishedStr + '\n' footerStr += '
\n' postIsSensitive = False