mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
mod_proxy65: Add service discovery identity and feature, to help out mod_disco when loaded on a normal host.
This commit is contained in:
parent
22067acd98
commit
77ea58af5a
1 changed files with 3 additions and 0 deletions
|
@ -117,6 +117,9 @@ function connlistener.ondisconnect(conn, err)
|
|||
end
|
||||
end
|
||||
|
||||
module:add_identity("proxy", "bytestreams", name);
|
||||
module:add_feature("http://jabber.org/protocol/bytestreams");
|
||||
|
||||
module:hook("iq-get/host/http://jabber.org/protocol/disco#info:query", function(event)
|
||||
local origin, stanza = event.origin, event.stanza;
|
||||
local reply = replies_cache.disco_info;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue