Missing domain

main
Bob Mottram 2019-12-01 13:55:24 +00:00
parent 06f7b71cb0
commit 7ee0f39767
2 changed files with 3 additions and 3 deletions

View File

@ -2654,7 +2654,7 @@ def mutePost(baseDir: str,nickname: str,domain: str,postId: str, \
# remove cached posts so that the muted version gets created
cachedPostFilename= \
getCachedPostFilename(baseDir,nickname,postJsonObject)
getCachedPostFilename(baseDir,nickname,domain,postJsonObject)
if cachedPostFilename:
if os.path.isfile(cachedPostFilename):
os.remove(cachedPostFilename)
@ -2677,7 +2677,7 @@ def unmutePost(baseDir: str,nickname: str,domain: str,postId: str, \
# remove cached posts so that it gets recreated
cachedPostFilename= \
getCachedPostFilename(baseDir,nickname,postJsonObject)
getCachedPostFilename(baseDir,nickname,domain,postJsonObject)
if cachedPostFilename:
if os.path.isfile(cachedPostFilename):
os.remove(cachedPostFilename)

View File

@ -319,7 +319,7 @@ def deletePost(baseDir: str,httpPrefix: str,nickname: str,domain: str,postFilena
# remove cached html version of the post
cachedPostFilename= \
getCachedPostFilename(baseDir,nickname,postJsonObject)
getCachedPostFilename(baseDir,nickname,domain,postJsonObject)
if cachedPostFilename:
if os.path.isfile(cachedPostFilename):
os.remove(cachedPostFilename)