mirror of https://gitlab.com/bashrc2/epicyon
announce
parent
cce4488683
commit
d683607d3c
|
@ -81,7 +81,7 @@ def undoAnnounceCollectionEntry(baseDir: str,postFilename: str, \
|
||||||
"""
|
"""
|
||||||
postJsonObject=loadJson(postFilename)
|
postJsonObject=loadJson(postFilename)
|
||||||
if postJsonObject:
|
if postJsonObject:
|
||||||
# remove any cached version of this announce so that the like icon is changed
|
# remove any cached version of this announce so that the announce icon is changed
|
||||||
nickname=getNicknameFromActor(actor)
|
nickname=getNicknameFromActor(actor)
|
||||||
cachedPostFilename= \
|
cachedPostFilename= \
|
||||||
getCachedPostFilename(baseDir,nickname,domain,postJsonObject)
|
getCachedPostFilename(baseDir,nickname,domain,postJsonObject)
|
||||||
|
@ -134,7 +134,7 @@ def updateAnnounceCollection(baseDir: str,postFilename: str, \
|
||||||
"""
|
"""
|
||||||
postJsonObject=loadJson(postFilename)
|
postJsonObject=loadJson(postFilename)
|
||||||
if postJsonObject:
|
if postJsonObject:
|
||||||
# remove any cached version of this announce so that the like
|
# remove any cached version of this announce so that the announce
|
||||||
# icon is changed
|
# icon is changed
|
||||||
nickname=getNicknameFromActor(actor)
|
nickname=getNicknameFromActor(actor)
|
||||||
cachedPostFilename= \
|
cachedPostFilename= \
|
||||||
|
|
Loading…
Reference in New Issue