aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py
diff options
context:
space:
mode:
authorGravatar mbaruh <[email protected]>2023-02-28 20:41:59 +0200
committerGravatar mbaruh <[email protected]>2023-02-28 20:41:59 +0200
commit3211097574ffaee1026f200272f33cc0bbc73ed7 (patch)
treea411674791fa87f583ec49ec715f9e7b497c03e9 /tests/helpers.py
parentCopy message from other infraction if result doesn't have one. (diff)
Fix antispam alerting
- Only upload deletion logs when there's actually deletion. - Don't upload deletion logs when an antispam event begins (could happen when another filter demanded an alert to be sent), but instead delay it until the antispam alert. Otherwise the antispam alert would cause an error because it would try to upload duplicate messages. - Correctly include any messages and channels added to the antispam event after the initial deletion.
Diffstat (limited to 'tests/helpers.py')
0 files changed, 0 insertions, 0 deletions