Extra debug for mute

main
Bob Mottram 2021-09-27 20:44:04 +01:00
parent 1328063a95
commit de23673fa2
1 changed files with 2 additions and 0 deletions

View File

@ -537,6 +537,7 @@ def mutePost(baseDir: str, nickname: str, domain: str, port: int,
if recentPostsCache.get('html'):
if recentPostsCache['html'].get(postId):
del recentPostsCache['html'][postId]
print('MUTE: ' + postId + ' removed cached html')
def unmutePost(baseDir: str, nickname: str, domain: str, port: int,
@ -613,6 +614,7 @@ def unmutePost(baseDir: str, nickname: str, domain: str, port: int,
if recentPostsCache.get('html'):
if recentPostsCache['html'].get(postId):
del recentPostsCache['html'][postId]
print('UNMUTE: ' + postId + ' removed cached html')
def outboxMute(baseDir: str, httpPrefix: str,