view mod_muc_auto_reserve_nicks/README.md @ 5536:96dec7681af8

mod_firewall: Update user marks to store instantly via map store The original approach was to keep marks in memory only, and persist them at shutdown. That saves I/O, at the cost of potentially losing marks on an unclean shutdown. This change persists marks instantly, which may have some performance overhead but should be more "correct". It also splits the marking/unmarking into an event which may be watched or even fired by other modules.
author Matthew Wild <mwild1@gmail.com>
date Thu, 08 Jun 2023 16:20:42 +0100
parents 85d4ab318d66
children
line wrap: on
line source

---
labels:
- 'Stage-Alpha'
summary: 'Automatically reserve nicknames of MUC users'
...

Introduction
============

This module automatically reserves the nickname of a user when they first join
a MUC. That's all.

Details
=======

The module doesn't currently update the registration if the user changes their
nick. That could cause flip-flopping if the user has two clients in regular
use with different nicks configured.

Compatibility
=============

Requires Prosody trunk (0.12) for the API introduced in commit
[0e7dedd8b18d](https://hg.prosody.im/trunk/rev/0e7dedd8b18d) and
[e0b58717f0c5](https://hg.prosody.im/trunk/rev/e0b58717f0c5).