Software /
code /
prosody
Diff
plugins/muc/mod_muc.lua @ 13657:404d3644ac4a
mod_muc: Integrate support for vcards/avatars on MUC rooms
This was previously served by a community module (mod_vcard_muc).
It can be disabled by setting `vcard_muc = false` in the config.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 06 Feb 2025 17:08:46 +0000 |
parent | 13496:3e6d5738ea09 |
line wrap: on
line diff
--- a/plugins/muc/mod_muc.lua Thu Feb 06 17:03:03 2025 +0000 +++ b/plugins/muc/mod_muc.lua Thu Feb 06 17:08:46 2025 +0000 @@ -116,6 +116,10 @@ module:require "muc/hats"; module:require "muc/lock"; +if module:get_option_boolean("muc_vcard", true) ~= false then + module:require "muc/vcard"; +end + module:default_permissions("prosody:admin", { ":automatic-ownership"; ":create-room";