Mercurial > prosody-modules
view mod_muc_lang/README.markdown @ 5590:b681948a01f1
mod_http_muc_log: Fix redirect bug
If you somehow went to /muc_log/room/yyyy-mm-dd/something it would send
you in a redirect loop that continuously added path components until the
path can't be parsed anymore.
This should ensure that /muc_log/room/date/ is simply 404'd
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 10 Jul 2023 16:10:57 +0200 |
parents | 4e8b5ea7f4c2 |
children |
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.