Diff

mod_nodeinfo2/mod_nodeinfo2.lua @ 3791:34a8f9f996ec

mod_nodeinfo2: Expose XMPP services
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 30 Dec 2019 22:43:01 +0100
parent 3790:352f3efe1b67
child 3792:aec772bbd558
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;
 			});