annotate mod_muc_occupant_id/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 ad133c619097
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3629
cfe0907808e1 mod_muc_occupant_id: initial commit
Maxime “pep” Buquet <pep@bouah.net>
parents:
diff changeset
1 ---
cfe0907808e1 mod_muc_occupant_id: initial commit
Maxime “pep” Buquet <pep@bouah.net>
parents:
diff changeset
2 summary: 'Anonymous unique occupant identifiers for MUCs'
cfe0907808e1 mod_muc_occupant_id: initial commit
Maxime “pep” Buquet <pep@bouah.net>
parents:
diff changeset
3 ...
cfe0907808e1 mod_muc_occupant_id: initial commit
Maxime “pep” Buquet <pep@bouah.net>
parents:
diff changeset
4
cfe0907808e1 mod_muc_occupant_id: initial commit
Maxime “pep” Buquet <pep@bouah.net>
parents:
diff changeset
5 Introduction
cfe0907808e1 mod_muc_occupant_id: initial commit
Maxime “pep” Buquet <pep@bouah.net>
parents:
diff changeset
6 ============
cfe0907808e1 mod_muc_occupant_id: initial commit
Maxime “pep” Buquet <pep@bouah.net>
parents:
diff changeset
7
3654
7b02b8de6d27 mod_muc_occupant_id: Update XEP number (XEP-0421)
Maxime “pep” Buquet <pep@bouah.net>
parents: 3631
diff changeset
8 This module implements [XEP-0421: Anonymous unique occupant identifiers for
7b02b8de6d27 mod_muc_occupant_id: Update XEP number (XEP-0421)
Maxime “pep” Buquet <pep@bouah.net>
parents: 3631
diff changeset
9 MUCs](https://xmpp.org/extensions/xep-0421.html).
3629
cfe0907808e1 mod_muc_occupant_id: initial commit
Maxime “pep” Buquet <pep@bouah.net>
parents:
diff changeset
10
3913
21b30b30cc16 mod_muc_occupant_id: add TODOs
Maxime “pep” Buquet <pep@bouah.net>
parents: 3654
diff changeset
11 TODO
21b30b30cc16 mod_muc_occupant_id: add TODOs
Maxime “pep” Buquet <pep@bouah.net>
parents: 3654
diff changeset
12 ====
21b30b30cc16 mod_muc_occupant_id: add TODOs
Maxime “pep” Buquet <pep@bouah.net>
parents: 3654
diff changeset
13
21b30b30cc16 mod_muc_occupant_id: add TODOs
Maxime “pep” Buquet <pep@bouah.net>
parents: 3654
diff changeset
14 - Subject messages
21b30b30cc16 mod_muc_occupant_id: add TODOs
Maxime “pep” Buquet <pep@bouah.net>
parents: 3654
diff changeset
15
3629
cfe0907808e1 mod_muc_occupant_id: initial commit
Maxime “pep” Buquet <pep@bouah.net>
parents:
diff changeset
16 Compatibility
cfe0907808e1 mod_muc_occupant_id: initial commit
Maxime “pep” Buquet <pep@bouah.net>
parents:
diff changeset
17 =============
cfe0907808e1 mod_muc_occupant_id: initial commit
Maxime “pep” Buquet <pep@bouah.net>
parents:
diff changeset
18
cfe0907808e1 mod_muc_occupant_id: initial commit
Maxime “pep” Buquet <pep@bouah.net>
parents:
diff changeset
19 ------- ------------------
4952
ad133c619097 mod_muc_occupant_id: Update Compatibility to mention being built-in in 0.12
Kim Alvefur <zash@zash.se>
parents: 4122
diff changeset
20 0.12 Built-in, not needed
3945
cf682a02b6d8 mod_muc_occupant_id: Handle MUC-PMs
Maxime “pep” Buquet <pep@bouah.net>
parents: 3916
diff changeset
21 0.11 Works; except in MUC-PMs
3629
cfe0907808e1 mod_muc_occupant_id: initial commit
Maxime “pep” Buquet <pep@bouah.net>
parents:
diff changeset
22 ------- ------------------