From 3ccd44ab2188c4fee168e3792518b9077e78d3a1 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 25 Feb 2020 14:30:45 +0000 Subject: [PATCH] Second published link --- webinterface.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/webinterface.py b/webinterface.py index 548e1d83..c38dc20a 100644 --- a/webinterface.py +++ b/webinterface.py @@ -3218,13 +3218,10 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \ publishedLink=messageId # blog posts should have no /statuses/ in their link if isBlogPost(postJsonObject): - print('Test messageId '+messageId) - print('Test domain '+domain) # is this a post to the local domain? if '://'+domain in messageId: publishedLink=messageId.replace('/statuses/','/') - print('Test publishedLink '+publishedLink) footerStr=''+publishedStr+'\n' # change the background color for DMs in inbox timeline @@ -3235,7 +3232,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \ if showIcons: footerStr='
' footerStr+=replyStr+announceStr+likeStr+bookmarkStr+deleteStr+muteStr - footerStr+=''+publishedStr+'\n' + footerStr+=''+publishedStr+'\n' footerStr+='
' postIsSensitive=False