add server_contact_info module with 05-server_contact_info.cfg.lua

This commit is contained in:
Sara Aimée Smiseth 2020-05-31 13:27:30 +02:00
parent 167672ac89
commit 2f6bda6ad7
2 changed files with 10 additions and 0 deletions

View file

@ -42,6 +42,8 @@ modules_enabled = {
--"watchregistrations"; -- Alert admins of registrations
--"motd"; -- Send a message to users when they log in
--"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

View 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 };
}