mirror of
https://github.com/SaraSmiseth/prosody.git
synced 2025-01-18 21:20:36 +00:00
add server_contact_info module with 05-server_contact_info.cfg.lua
This commit is contained in:
parent
167672ac89
commit
2f6bda6ad7
2 changed files with 10 additions and 0 deletions
|
@ -42,6 +42,8 @@ modules_enabled = {
|
||||||
--"watchregistrations"; -- Alert admins of registrations
|
--"watchregistrations"; -- Alert admins of registrations
|
||||||
--"motd"; -- Send a message to users when they log in
|
--"motd"; -- Send a message to users when they log in
|
||||||
--"legacyauth"; -- Legacy authentication. Only used by some old clients and bots.
|
--"legacyauth"; -- Legacy authentication. Only used by some old clients and bots.
|
||||||
|
|
||||||
|
"server_contact_info"; -- This module lets you advertise various contact addresses for your XMPP service via XEP-0157.
|
||||||
};
|
};
|
||||||
|
|
||||||
-- These modules are auto-loaded, but should you want
|
-- These modules are auto-loaded, but should you want
|
||||||
|
|
8
conf.d/05-server_contact_info.cfg.lua
Normal file
8
conf.d/05-server_contact_info.cfg.lua
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
contact_info = {
|
||||||
|
abuse = { "xmpp:abuse@" .. domain };
|
||||||
|
admin = { "xmpp:admin@" .. domain };
|
||||||
|
feedback = { "xmpp:feedback@" .. domain };
|
||||||
|
sales = { "xmpp:sales@" .. domain };
|
||||||
|
security = { "xmpp:security@" .. domain };
|
||||||
|
support = { "xmpp:support@" .. domain };
|
||||||
|
}
|
Loading…
Reference in a new issue