annotate mod_spam_reporting/README.md @ 6519:01d8bfbfc435

mod_pubsub_serverinfo: Fix check for local domain The module was checking whether a host exists, but this may be misleading if our host is loaded before the host that is being checked. This change makes it check the config. This will provide a false positive in the rare case that the host is defined but not activated/enabled. But we don't have an API currently for "is this host configured and enabled?"
author Matthew Wild <mwild1@gmail.com>
date Tue, 21 Apr 2026 19:54:19 +0100
parents fe081789f7b5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2268
56ea6ff796ba mod_spam_reporting: Add README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 ---
2278
983abc684851 mod_spam_reporting/README: Set Beta tag
Kim Alvefur <zash@zash.se>
parents: 2269
diff changeset
2 labels:
983abc684851 mod_spam_reporting/README: Set Beta tag
Kim Alvefur <zash@zash.se>
parents: 2269
diff changeset
3 - 'Stage-Beta'
2268
56ea6ff796ba mod_spam_reporting: Add README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4 summary: 'XEP-0377: Spam Reporting'
56ea6ff796ba mod_spam_reporting: Add README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5 ---
56ea6ff796ba mod_spam_reporting: Add README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
6
2269
a730ab6f3aaa mod_spam_reporting/README: Fix syntax mistakenly normalized by pandoc
Kim Alvefur <zash@zash.se>
parents: 2268
diff changeset
7 This module is a very basic implementation of [XEP-0377: Spam Reporting].
2268
56ea6ff796ba mod_spam_reporting: Add README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
8
2282
122f0e53dc5a mod_spam_reporting/README: Mention the event.
Kim Alvefur <zash@zash.se>
parents: 2278
diff changeset
9 When someone reports spam or abuse, a line about this is logged and an
122f0e53dc5a mod_spam_reporting/README: Mention the event.
Kim Alvefur <zash@zash.se>
parents: 2278
diff changeset
10 event is fired so that other modules can act on the report.