Mercurial > prosody-modules
comparison 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 |
| parents | 352f3efe1b67 |
| children | aec772bbd558 |
comparison
equal
deleted
inserted
replaced
| 3790:352f3efe1b67 | 3791:34a8f9f996ec |
|---|---|
| 101 }; | 101 }; |
| 102 --]] | 102 --]] |
| 103 protocols = array { | 103 protocols = array { |
| 104 "xmpp", | 104 "xmpp", |
| 105 }; | 105 }; |
| 106 --[[ TODO would be cool to identify local transports | |
| 107 services = { | 106 services = { |
| 108 inbound = array { | 107 inbound = array { |
| 109 "irc"; | 108 "xmpp"; |
| 110 }; | 109 }; |
| 111 outbound = array { | 110 outbound = array { |
| 111 "xmpp"; | |
| 112 }; | 112 }; |
| 113 }; | 113 }; |
| 114 --]] | |
| 115 openRegistrations = module:get_option_boolean("allow_registration", false); | 114 openRegistrations = module:get_option_boolean("allow_registration", false); |
| 116 usage = usage; | 115 usage = usage; |
| 117 }); | 116 }); |
| 118 end; | 117 end; |
| 119 } | 118 } |
