From 8755d49d7fbe94a978b606b94d31f296ddb14a22 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 9 Sep 2019 16:20:05 +0100 Subject: [PATCH] Mark blocked announces as rejected --- webinterface.py | 1 + 1 file changed, 1 insertion(+) diff --git a/webinterface.py b/webinterface.py index d4bb9abc..eb7df871 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1501,6 +1501,7 @@ def individualPostAsHtml(translate: {}, \ if attributedPort!=80 and attributedPort!=443: attributedDomain=attributedDomain+':'+str(attributedPort) if isBlocked(baseDir,nickname,domain,attributedNickname,attributedDomain): + rejectAnnounce(announceFilename) return '' postJsonObject=announcedJson with open(announceFilename, 'w') as fp: