view mod_compat_muc_admin/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 bdedf85a3e2e
children
line wrap: on
line source

---
labels:
- 'Stage-Beta'
summary: |
    COMPAT Module for old clients using wrong namespaces in MUC's
    affiliation manipulations.
...

Details
=======

Adds compatibility for old clients/libraries attempting to change
affiliations and retrieve 'em sending the \<
http://jabber.org/protocol/muc\#owner \> xmlns instead of \<
http://jabber.org/protocol/muc\#admin \>.

Usage
=====

Copy the plugin into your prosody's modules directory.

And add it between the enabled muc component's modules

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

-   0.7-0.8.x