mirror of https://gitlab.com/bashrc2/epicyon
Missing domain
parent
06f7b71cb0
commit
7ee0f39767
4
posts.py
4
posts.py
|
@ -2654,7 +2654,7 @@ def mutePost(baseDir: str,nickname: str,domain: str,postId: str, \
|
||||||
|
|
||||||
# remove cached posts so that the muted version gets created
|
# remove cached posts so that the muted version gets created
|
||||||
cachedPostFilename= \
|
cachedPostFilename= \
|
||||||
getCachedPostFilename(baseDir,nickname,postJsonObject)
|
getCachedPostFilename(baseDir,nickname,domain,postJsonObject)
|
||||||
if cachedPostFilename:
|
if cachedPostFilename:
|
||||||
if os.path.isfile(cachedPostFilename):
|
if os.path.isfile(cachedPostFilename):
|
||||||
os.remove(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
|
# remove cached posts so that it gets recreated
|
||||||
cachedPostFilename= \
|
cachedPostFilename= \
|
||||||
getCachedPostFilename(baseDir,nickname,postJsonObject)
|
getCachedPostFilename(baseDir,nickname,domain,postJsonObject)
|
||||||
if cachedPostFilename:
|
if cachedPostFilename:
|
||||||
if os.path.isfile(cachedPostFilename):
|
if os.path.isfile(cachedPostFilename):
|
||||||
os.remove(cachedPostFilename)
|
os.remove(cachedPostFilename)
|
||||||
|
|
2
utils.py
2
utils.py
|
@ -319,7 +319,7 @@ def deletePost(baseDir: str,httpPrefix: str,nickname: str,domain: str,postFilena
|
||||||
|
|
||||||
# remove cached html version of the post
|
# remove cached html version of the post
|
||||||
cachedPostFilename= \
|
cachedPostFilename= \
|
||||||
getCachedPostFilename(baseDir,nickname,postJsonObject)
|
getCachedPostFilename(baseDir,nickname,domain,postJsonObject)
|
||||||
if cachedPostFilename:
|
if cachedPostFilename:
|
||||||
if os.path.isfile(cachedPostFilename):
|
if os.path.isfile(cachedPostFilename):
|
||||||
os.remove(cachedPostFilename)
|
os.remove(cachedPostFilename)
|
||||||
|
|
Loading…
Reference in New Issue