mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
019f885c01
commit
afedb302b0
|
@ -49,7 +49,7 @@ def outboxAnnounce(recentPostsCache: {},
|
||||||
updateAnnounceCollection(recentPostsCache, baseDir, postFilename,
|
updateAnnounceCollection(recentPostsCache, baseDir, postFilename,
|
||||||
messageJson['actor'], domain, debug)
|
messageJson['actor'], domain, debug)
|
||||||
return True
|
return True
|
||||||
if messageJson['type'] == 'Undo':
|
elif messageJson['type'] == 'Undo':
|
||||||
if not isinstance(messageJson['object'], dict):
|
if not isinstance(messageJson['object'], dict):
|
||||||
return False
|
return False
|
||||||
if not messageJson['object'].get('type'):
|
if not messageJson['object'].get('type'):
|
||||||
|
|
Loading…
Reference in New Issue