mod_disco: Allow configurable name in disco identity (defaults to 'Prosody')

This commit is contained in:
Matthew Wild 2012-07-23 12:25:33 +01:00
parent 8a79164f2b
commit 8b103580ec

View file

@ -32,7 +32,7 @@ do -- validate disco_items
end
end
module:add_identity("server", "im", "Prosody"); -- FIXME should be in the non-existing mod_router
module:add_identity("server", "im", module:get_option_string("name", "Prosody")); -- FIXME should be in the non-existing mod_router
module:add_feature("http://jabber.org/protocol/disco#info");
module:add_feature("http://jabber.org/protocol/disco#items");