X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=core%2Fstanza_router.lua;h=4f529129d91ce121f261f696d554db17e2004acc;hb=b2fa1836b786c51c64f35a3531fea2ebe9fb4d5b;hp=dbbb299b1d0752b21df390ebaca5df14d1aa85ae;hpb=ad00f8769f2110e42bb7a7ce83b952abddc0aa19;p=prosody.git 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