merge-requests/30/head
Bob Mottram 2021-05-07 16:58:39 +01:00
parent 469e8304be
commit 019f885c01
1 changed files with 55 additions and 54 deletions

View File

@ -1985,7 +1985,8 @@ def updateAnnounceCollection(recentPostsCache: {},
It's shares of posts, not shares of physical objects. It's shares of posts, not shares of physical objects.
""" """
postJsonObject = loadJson(postFilename) postJsonObject = loadJson(postFilename)
if postJsonObject: if not postJsonObject:
return
# remove any cached version of this announce so that the announce # remove any cached version of this announce so that the announce
# icon is changed # icon is changed
nickname = getNicknameFromActor(actor) nickname = getNicknameFromActor(actor)