mod_http_altconnect/mod_http_altconnect.lua
changeset 1323 c84ff82658cb
parent 1291 1ac28a953e5f
child 1324 853a382c9bd6
--- 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