From a82a12418ee04875ccd3fc50e046c136157dbb0f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 2 Jan 2020 22:42:06 +0000 Subject: [PATCH] Timestamp links to post --- follow.py | 1 + webinterface.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/follow.py b/follow.py index 945b3834..4b38182d 100644 --- a/follow.py +++ b/follow.py @@ -348,6 +348,7 @@ def followApprovalRequired(baseDir: str,nicknameToFollow: str, \ followRequestHandle: str) -> bool: """ Returns the policy for follower approvals """ + # has this handle already been manually approved? if preApprovedFollower(baseDir,nicknameToFollow,domainToFollow, \ followRequestHandle): return False diff --git a/webinterface.py b/webinterface.py index 474d6616..a979bf00 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2602,7 +2602,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \ publishedStr=publishedStr.replace('T',' ').split('.')[0] datetimeObject = parse(publishedStr) publishedStr=datetimeObject.strftime("%a %b %d, %H:%M") - footerStr=''+publishedStr+'\n' + footerStr=''+publishedStr+'\n' # change the background color for DMs in inbox timeline if showDMicon: