Mercurial > prosody-modules
view mod_adhoc_blacklist/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 | 262cce6487bc |
children |
line wrap: on
line source
--- summary: 'Block remote servers via ad-hoc command' ... Introduction ============ This module provides the *Edit Blacklist* ad-hoc command described in [XEP-0133](http://xmpp.org/extensions/xep-0133.html#edit-blacklist) and also performs the actual blocking of incoming and outgoing server-to-server connections. Using ===== In your client, simply select the Edit Blacklist command from the list of adhoc commands. E.g. in Pidgin, this is under *Accounts -\> (your account)* in the menu.