diff --git a/service/prosody/container/config/prosody.cfg.lua b/service/prosody/container/config/prosody.cfg.lua index e8a990b..af698d6 100644 --- a/service/prosody/container/config/prosody.cfg.lua +++ b/service/prosody/container/config/prosody.cfg.lua @@ -53,6 +53,7 @@ modules_enabled = { "mam"; -- Store messages in an archive and allow users to access it "smacks"; -- Stream management for resuming dropped connections. "csi_simple"; -- Enables simple traffic optimisation for clients that have reported themselves as inactive. + "privilege"; -- Allows components to have privileged access to the XMPP server. -- Push notifications "cloud_notify"; -- Support for push notifications. diff --git a/service/prosody/service/component.cfg.lua.template b/service/prosody/service/component.cfg.lua.template index cd90d67..ed06645 100644 --- a/service/prosody/service/component.cfg.lua.template +++ b/service/prosody/service/component.cfg.lua.template @@ -1,2 +1,3 @@ Component "${PROSODY_COMPONENT_NAME}" component_secret = "${PROSODY_COMPONENT_PASSWORD}" + modules_enabled = {"privilege"}