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
|
return None
|
||||||
|
|
||||||
if invalidCiphertext(contentStr):
|
if invalidCiphertext(contentStr):
|
||||||
|
_rejectAnnounce(announceFilename,
|
||||||
|
baseDir, nickname, domain, postId,
|
||||||
|
recentPostsCache)
|
||||||
print('WARN: Invalid ciphertext within announce ' +
|
print('WARN: Invalid ciphertext within announce ' +
|
||||||
str(announcedJson))
|
str(announcedJson))
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Reference in New Issue