view mod_swedishchef/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 4d73a1a6ba68
children
line wrap: on
line source

---
labels:
- 'Stage-Beta'
summary: 'Silly little module to convert your conversations to "swedish"'
...

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

This module does some conversions on message bodys passed through it
causing them to look like our beloved swedish chef had typed them.

Details
=======

To load this on a MUC component do

    Component "funconference.example.com" "muc"
        modules_enabled = { "swedishchef" }
        swedishchef_trigger = "!chef"; -- optional, converts only when the message starts with "!chef"

In theory this also works for whole servers, but that is untested and
not recommended ;)

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

  ----- -------
  0.6   Works
  0.5   Works
  ----- -------

Todo
====

-   Possibly add xhtml-im (XEP-0071) support