Mercurial > prosody-modules
changeset 1323:c84ff82658cb
Update the namespaces in http_altconnect to match published XEP-0156
author | Lance Stout <lancestout@gmail.com> |
---|---|
date | Wed, 26 Feb 2014 13:08:47 -0800 |
parents | bf6796061037 |
children | 853a382c9bd6 |
files | mod_http_altconnect/mod_http_altconnect.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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