mirror of https://gitlab.com/bashrc2/epicyon
Remove html for muted posts
parent
4189bdff0b
commit
a15e905052
|
@ -537,6 +537,8 @@ def mutePost(baseDir: str, nickname: str, domain: str, port: int,
|
|||
del recentPostsCache['html'][postId]
|
||||
print('MUTE: ' + postId +
|
||||
' marked as muted in recent posts memory cache')
|
||||
if recentPostsCache['html'].get(postId):
|
||||
del recentPostsCache['html'][postId]
|
||||
|
||||
|
||||
def unmutePost(baseDir: str, nickname: str, domain: str, port: int,
|
||||
|
@ -613,6 +615,8 @@ def unmutePost(baseDir: str, nickname: str, domain: str, port: int,
|
|||
del recentPostsCache['html'][postId]
|
||||
print('UNMUTE: ' + postId +
|
||||
' marked as unmuted in recent posts cache')
|
||||
if recentPostsCache['html'].get(postId):
|
||||
del recentPostsCache['html'][postId]
|
||||
|
||||
|
||||
def outboxMute(baseDir: str, httpPrefix: str,
|
||||
|
|
Loading…
Reference in New Issue