annotate mod_spam_reporting/README.markdown @ 5173:460f78654864

mod_muc_rtbl: also filter messages This was a bit tricky because we don't want to run the JIDs through SHA256 on each message. Took a while to come up with this simple plan of just caching the SHA256 of the JIDs on the occupants. This will leave some dirt in the occupants after unloading the module, but that should be ok; once they cycle the room, the hashes will be gone. This is direly needed, otherwise, there is a tight race between the moderation activities and the actors joining the room.
author Jonas Schäfer <jonas@wielicki.name>
date Tue, 21 Feb 2023 21:37:27 +0100
parents 48c27b51f992
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.