mirror of https://gitlab.com/bashrc2/epicyon
Mark announces with bad ciphertext as rejected
parent
44308df999
commit
e48e2a0fd1
3
posts.py
3
posts.py
|
@ -4604,6 +4604,9 @@ def downloadAnnounce(session, baseDir: str, httpPrefix: str,
|
|||
return None
|
||||
|
||||
if invalidCiphertext(contentStr):
|
||||
_rejectAnnounce(announceFilename,
|
||||
baseDir, nickname, domain, postId,
|
||||
recentPostsCache)
|
||||
print('WARN: Invalid ciphertext within announce ' +
|
||||
str(announcedJson))
|
||||
return None
|
||||
|
|
Loading…
Reference in New Issue