view mod_swedishchef/README.markdown @ 4939:7d6ae8bb95dc

mod_delegation: use clean_xmlns to remove jabber:client namespace from node: for the same reason as in mod_privilege, `jabber:client` namespace is removed with the clean_xmlns method coming from there. Furthermore, the forwarded <iq> stanza use the `jabber:client` xmlns while the stanza may come from a component with e.g. `jabber:component:accept` xmlns, this can lead to inconsistencies between the <iq> stanza and children (like <error> element).
author Goffi <goffi@goffi.org>
date Sat, 28 May 2022 16:42:13 +0200
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