Software /
code /
prosody
Comparison
plugins/muc/mod_muc.lua @ 9035:173c0e16e704
MUC: Add sections in room config form
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 13 Jul 2018 15:47:08 +0100 |
parent | 9019:d780c10709c1 |
child | 9048:c58be87e62d0 |
comparison
equal
deleted
inserted
replaced
9034:1c709e3d2e5e | 9035:173c0e16e704 |
---|---|
82 local jid_split = require "util.jid".split; | 82 local jid_split = require "util.jid".split; |
83 local jid_bare = require "util.jid".bare; | 83 local jid_bare = require "util.jid".bare; |
84 local st = require "util.stanza"; | 84 local st = require "util.stanza"; |
85 local cache = require "util.cache"; | 85 local cache = require "util.cache"; |
86 local um_is_admin = require "core.usermanager".is_admin; | 86 local um_is_admin = require "core.usermanager".is_admin; |
87 | |
88 module:require "muc/config_form_sections"; | |
87 | 89 |
88 module:depends("disco"); | 90 module:depends("disco"); |
89 module:add_identity("conference", "text", module:get_option_string("name", "Prosody Chatrooms")); | 91 module:add_identity("conference", "text", module:get_option_string("name", "Prosody Chatrooms")); |
90 module:add_feature("http://jabber.org/protocol/muc"); | 92 module:add_feature("http://jabber.org/protocol/muc"); |
91 module:depends "muc_unique" | 93 module:depends "muc_unique" |