Software /
code /
prosody
Diff
plugins/muc/mod_muc.lua @ 10693:76bb806cdd4b
MUC: Add initial hats support (broadcast only)
Based on the currently-deferred XEP-0317. The protocol differs
a little (because XEP-0317 is incomplete), therefore currently
we use a custom namespace.
The plan is to update and finish XEP-0317.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 18 Mar 2020 17:42:56 +0000 |
parent | 10647:d1bfda983ffe |
child | 10698:e4034f6668a5 |
line wrap: on
line diff
--- a/plugins/muc/mod_muc.lua Sun Mar 15 20:35:07 2020 +0100 +++ b/plugins/muc/mod_muc.lua Wed Mar 18 17:42:56 2020 +0000 @@ -105,6 +105,7 @@ module:add_identity("conference", "text", module:get_option_string("name", "Prosody Chatrooms")); module:add_feature("http://jabber.org/protocol/muc"); module:depends "muc_unique" +module:require "muc/hats"; module:require "muc/lock"; local function is_admin(jid)