--- a/mod_http_altconnect/mod_http_altconnect.lua Wed Feb 26 20:17:13 2014 +0100
+++ b/mod_http_altconnect/mod_http_altconnect.lua Wed Feb 26 13:08:47 2014 -0800
@@ -12,10 +12,10 @@
local function get_supported()
local uris = array();
if host_modules["bosh"] then
- uris:push({ rel = "urn:xmpp:altconnect:bosh", href = module:http_url("bosh", "/http-bind") });
+ uris:push({ rel = "urn:xmpp:alt-connections:xbosh", href = module:http_url("bosh", "/http-bind") });
end
if host_modules["websocket"] then
- uris:push({ rel = "urn:xmpp:altconnect:websocket", href = module:http_url("websocket", "xmpp-websocket"):gsub("^http", "ws") });
+ uris:push({ rel = "urn:xmpp:alt-connections:websocket", href = module:http_url("websocket", "xmpp-websocket"):gsub("^http", "ws") });
end
return uris;
end