File

mod_swedishchef/README.markdown @ 5997:d3812826c1cd

mod_csi_muc_priorities: Allow setting the default priority for mucs to low Move the priority checking after the mention check so that if there is a mention we return true. Add an option to the form to set the default priority to low. Return `nil` in cases where we determite that the priority should be high, as with `mod_csi_simple` this causes normal MUC messages to be marked important while allowing mod_csi_grace_period and unneeded messages to be queued.
author aereaux <aidan@jmad.org>
date Sun, 22 Sep 2024 08:13:09 -0700
parent 1803:4d73a1a6ba68
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