File

mod_muc_lang/README.md @ 6114:dc2cce03554d

mod_pubsub_subscription: Match stanzas with fixed prefix only This should help filter out any other unrelated iq stanzas which may be exchanged with the pubsub service. For example, a separate module was requesting the item list from a subscribed node, but this module was incorrectly attempting to handle the result.
author Matthew Wild <mwild1@gmail.com>
date Sat, 28 Dec 2024 15:23:33 +0000
parent 6003:fe081789f7b5
line wrap: on
line source

# Introduction

This module adds support for advertising the language used in a room.

# Configuring

``` {.lua}
Component "rooms.example.net" "muc"
modules_enabled = {
    "muc_lang";
}
```

The room language is specified in a new field in the room configuration
dialog, accessible through compatible clients.

Use [language codes](https://en.wikipedia.org/wiki/ISO_639) like `en`,
`fr`, `de` etc.

# Compatibility

Meant for use with Prosody 0.10.x

Native support was [added in Prosody
trunk/0.11](https://hg.prosody.im/trunk/rev/9c90cd2fc4c3), so there is
no need for this module.