diff options
author | Kim Alvefur <zash@zash.se> | 2014-09-09 15:05:46 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2014-09-09 15:05:46 +0200 |
commit | 4faf29b1557d802ec5a79ae44503d53b63e3f03d (patch) | |
tree | 5bd9c8e96405049d9351ba61e790fcb30bb9a0e8 /core | |
parent | b7a83400d1d742468d2609cdfa6bebed95cdbe67 (diff) | |
download | prosody-4faf29b1557d802ec5a79ae44503d53b63e3f03d.tar.gz prosody-4faf29b1557d802ec5a79ae44503d53b63e3f03d.zip |
core.stanza_router, mod_s2s: Move handling of S2S features to mod_s2s from stanza_router
Diffstat (limited to 'core')
-rw-r--r-- | core/stanza_router.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/stanza_router.lua b/core/stanza_router.lua index dbbb299b..4f529129 100644 --- a/core/stanza_router.lua +++ b/core/stanza_router.lua @@ -46,7 +46,7 @@ local function handle_unhandled_stanza(host, origin, stanza) if origin.send then origin.send(st.error_reply(stanza, "cancel", "service-unavailable")); end - elseif not((name == "features" or name == "error") and xmlns == "http://etherx.jabber.org/streams") then -- FIXME remove check once we handle S2S features + else log("warn", "Unhandled %s stream element or stanza: %s; xmlns=%s: %s", origin_type, name, xmlns, tostring(stanza)); -- we didn't handle it origin:close("unsupported-stanza-type"); end |