mod_csi_simple: Consider nonzas important

This case was previously handled by fall-trough at the end of the
function.
remotes/origin/master
Kim Alvefur 6 years ago
parent fc3bee71fd
commit ea91b4cc7b
  1. 4
      plugins/mod_csi_simple.lua

@ -20,6 +20,10 @@ module:hook("csi-is-stanza-important", function (event)
if not st.is_stanza(stanza) then
return true;
end
if stanza.attr.xmlns ~= nil then
-- stream errors, stream management etc
return true;
end
local st_name = stanza.name;
if not st_name then return false; end
local st_type = stanza.attr.type;

Loading…
Cancel
Save