# HG changeset patch # User Lance Stout # Date 1393448927 28800 # Node ID c84ff82658cb26b96f1c225f4ee0a3415f724360 # Parent bf6796061037422a33cef9bce82a877f28ad3b40 Update the namespaces in http_altconnect to match published XEP-0156 diff -r bf6796061037 -r c84ff82658cb mod_http_altconnect/mod_http_altconnect.lua --- 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