changeset 3791:34a8f9f996ec

mod_nodeinfo2: Expose XMPP services
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 30 Dec 2019 22:43:01 +0100
parents 352f3efe1b67
children aec772bbd558
files mod_nodeinfo2/mod_nodeinfo2.lua
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mod_nodeinfo2/mod_nodeinfo2.lua	Mon Dec 30 22:39:17 2019 +0100
+++ b/mod_nodeinfo2/mod_nodeinfo2.lua	Mon Dec 30 22:43:01 2019 +0100
@@ -103,15 +103,14 @@
 				protocols = array {
 					"xmpp",
 				};
-				--[[ TODO would be cool to identify local transports
 				services = {
 					inbound = array {
-						"irc";
+						"xmpp";
 					};
 					outbound = array {
+						"xmpp";
 					};
 				};
-				--]]
 				openRegistrations = module:get_option_boolean("allow_registration", false);
 				usage = usage;
 			});