main
Bob Mottram 2021-09-28 15:38:52 +01:00
parent c53f0631bf
commit 655771d0af
1 changed files with 6 additions and 4 deletions

View File

@ -8131,16 +8131,18 @@ class PubServer(BaseHTTPRequestHandler):
muteFilename = \ muteFilename = \
locatePost(baseDir, nickname, domain, muteUrl) locatePost(baseDir, nickname, domain, muteUrl)
if muteFilename: if muteFilename:
print('Regenerating html post for changed unmute status') print('unmutePost: ' +
'Regenerating html post for changed unmute status')
mutePostJson = loadJson(muteFilename, 0, 1) mutePostJson = loadJson(muteFilename, 0, 1)
if mutePostJson: if mutePostJson:
cachedPostFilename = \ cachedPostFilename = \
getCachedPostFilename(baseDir, nickname, getCachedPostFilename(baseDir, nickname,
domain, mutePostJson) domain, mutePostJson)
print('Unmuted post json: ' + str(mutePostJson)) print('unmutePost: Unmuted post json: ' + str(mutePostJson))
print('Unmuted post nickname: ' + print('unmutePost: Unmuted post nickname: ' +
nickname + ' ' + domain) nickname + ' ' + domain)
print('Unmuted post cache: ' + str(cachedPostFilename)) print('unmutePost: Unmuted post cache: ' +
str(cachedPostFilename))
showIndividualPostIcons = True showIndividualPostIcons = True
manuallyApproveFollowers = \ manuallyApproveFollowers = \
followerApprovalActive(baseDir, nickname, domain) followerApprovalActive(baseDir, nickname, domain)