Mercurial > prosody-modules
view mod_devices/README.markdown @ 5170:4d6af8950016
mod_muc_moderation: Derive role from reserved nickname if occupant
When using a different client to moderate than the one used to
participate in the chat, e.g. a command line tool like clix, there's no
occupant and no role to use in the permission check. Previously the
default role based on affiliation was used. Now if you are present in
the room using your reserved nick, the role you have there is used in
the permission check instead of the default affiliation-derived role.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 19 Feb 2023 18:17:37 +0100 |
parents | 4cf65afd90f4 |
children |
line wrap: on
line source
--- labels: - 'Stage-Alpha' summary: 'Device identification' ... Description ============ This is an experimental module that aims to identify the different devices (technically clients) that a user uses with their account. It is expected that at some point this will be backed by a nicer protocol, but it currently uses a variety of hacky methods to track devices between sessions. Usage ===== ``` {.lua} modules_enabled = { -- ... "devices", -- ... } ``` Configuration ============= Option summary -------------- option type default ------------------------------ ----------------------- ----------- max\_user\_devices number `5` Compatibility ============= ------- ----------------------- trunk Works 0.11 Works 0.10 Does not work ------- -----------------------