netz39-infra-ansible/files/prosody/jabber.n39.eu.cfg.lua
Christof Schulze b82a4941d8 prosody.cfg: migrated to 0.12
disabled modules that are now in core:
* csi_battery_saver
* graceful_shutdown

enabled modules:
* csi & csi_simple as replacement for csi_battery_saver
* limits (nice protection)
* bookmarks (because of a more unified user experience)

added but disabled
* cloud_notify (will be in 0.13 - it is a community module now. Use it
  then)
* http - this allows http uploads and image sharing but was disabled
  before so not enabling now
* vcard_muc - this allows to set vcards for muc ie change profile
  picture. It is however a community module and thus disabled by
  default.
2025-03-25 21:06:19 +01:00

31 lines
1.1 KiB
Lua

VirtualHost "jabber.n39.eu"
-- certificate = "/path/to/example.crt"
------ Components ------
-- You can specify components to add hosts that provide special services,
-- like multi-user conferences, and transports.
-- For more information on components, see https://prosody.im/doc/components
---Set up a MUC (multi-user chat) room server on conference.example.com:
--Component "conference.example.com" "muc"
--- Store MUC messages in an archive and allow users to access it
--modules_enabled = { "muc_mam" }
Component "conference.jabber.n39.eu" "muc"
modules_enabled = {
"muc_mam";
-- "vcard_muc";
}
-- alex: service discovery
disco_items = {
{ "conference.jabber.n39.eu", "The Netz39 Multi-User-Chat" };
}
---Set up an external component (default component port is 5347)
--
-- External components allow adding various services, such as gateways/
-- transports to other networks like ICQ, MSN and Yahoo. For more info
-- see: https://prosody.im/doc/components#adding_an_external_component
--
--Component "gateway.example.com"
-- component_secret = "password"