Software /
code /
prosody
File
util/xpcall.lua @ 11128:c3eefb517b7b 0.11
MUC: Correct advertising of subject write access (really fixes #1155)
Thanks pep. and lovetox
XEP-0045 §6.4:
> any field defined for the muc\#roomconfig FORM_TYPE can be included in
> the extended service discovery fields
Probably happened because the same mistake is in #1155
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 04 Oct 2020 18:00:32 +0200 |
parent | 9561:cfc7b2f7251e |
child | 12975:d10957394a3c |
line wrap: on
line source
local xpcall = xpcall; if select(2, xpcall(function (x) return x end, function () end, "test")) ~= "test" then xpcall = require"util.compat".xpcall; end return { xpcall = xpcall; };