forked from indymedia/epicyon
Mark blocked announces as rejected
parent
27498d8fad
commit
8755d49d7f
|
@ -1501,6 +1501,7 @@ def individualPostAsHtml(translate: {}, \
|
||||||
if attributedPort!=80 and attributedPort!=443:
|
if attributedPort!=80 and attributedPort!=443:
|
||||||
attributedDomain=attributedDomain+':'+str(attributedPort)
|
attributedDomain=attributedDomain+':'+str(attributedPort)
|
||||||
if isBlocked(baseDir,nickname,domain,attributedNickname,attributedDomain):
|
if isBlocked(baseDir,nickname,domain,attributedNickname,attributedDomain):
|
||||||
|
rejectAnnounce(announceFilename)
|
||||||
return ''
|
return ''
|
||||||
postJsonObject=announcedJson
|
postJsonObject=announcedJson
|
||||||
with open(announceFilename, 'w') as fp:
|
with open(announceFilename, 'w') as fp:
|
||||||
|
|
Loading…
Reference in New Issue