plugins/mod_disco.lua
changeset 12392 50fcd3879482
parent 12021 b3f040e57835
child 12646 9061f9621330
child 13412 d7857ef7843a
equal deleted inserted replaced
12391:05c250fa335a 12392: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