Mercurial > prosody-modules
changeset 3402:6a3060d5e85d
mod_muc_limits: Document brokenness with 0.11.x
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 11 Dec 2018 18:27:40 +0100 |
parents | 8412592f3011 |
children | 823027110e29 |
files | mod_muc_limits/README.markdown mod_muc_limits/mod_muc_limits.lua |
diffstat | 2 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_muc_limits/README.markdown Tue Dec 11 18:27:08 2018 +0100 +++ b/mod_muc_limits/README.markdown Tue Dec 11 18:27:40 2018 +0100 @@ -66,12 +66,13 @@ Compatibility ============= - ------- ------------------ - Trunk Unknown + ------- --------------------------------------------------------------------------------- + trunk Doesn't work since [0ebc7ff1fff5](https://hg.prosody.im/trunk/rev/0ebc7ff1fff5) + 0.11 Doesn't work 0.10 Works 0.9 Works 0.8 Doesn't work[^1] - ------- ------------------ + ------- --------------------------------------------------------------------------------- [^1]: This module can be made to work in 0.8 (and *maybe* previous versions) of Prosody by copying the new
--- a/mod_muc_limits/mod_muc_limits.lua Tue Dec 11 18:27:08 2018 +0100 +++ b/mod_muc_limits/mod_muc_limits.lua Tue Dec 11 18:27:40 2018 +0100 @@ -2,7 +2,7 @@ local mod_muc = module:depends"muc"; local rooms = rawget(mod_muc, "rooms"); -- Old MUC API if not rooms then - rooms = module:shared"muc/rooms"; -- New MUC API + error "Not compatible with 0.11 MUC API" end local jid_split, jid_bare = require "util.jid".split, require "util.jid".bare;