Software / code / prosody
Comparison
plugins/mod_disco.lua @ 12388:50fcd3879482 0.12.0
spelling: non-existing mistakes (thanks timeless)
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Mon, 07 Mar 2022 00:35:29 +0100 |
| parent | 12017:b3f040e57835 |
| child | 12642:9061f9621330 |
| child | 13408:d7857ef7843a |
comparison
equal
deleted
inserted
replaced
| 12387:05c250fa335a | 12388:50fcd3879482 |
|---|---|
| 34 end | 34 end |
| 35 end | 35 end |
| 36 end | 36 end |
| 37 | 37 |
| 38 if module:get_host_type() == "local" then | 38 if module:get_host_type() == "local" then |
| 39 module:add_identity("server", "im", module:get_option_string("name", "Prosody")); -- FIXME should be in the non-existing mod_router | 39 module:add_identity("server", "im", module:get_option_string("name", "Prosody")); -- FIXME should be in the nonexisting mod_router |
| 40 end | 40 end |
| 41 module:add_feature("http://jabber.org/protocol/disco#info"); | 41 module:add_feature("http://jabber.org/protocol/disco#info"); |
| 42 module:add_feature("http://jabber.org/protocol/disco#items"); | 42 module:add_feature("http://jabber.org/protocol/disco#items"); |
| 43 | 43 |
| 44 -- Generate and cache disco result and caps hash | 44 -- Generate and cache disco result and caps hash |