aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mod_csi_simple.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/mod_csi_simple.lua b/plugins/mod_csi_simple.lua
index df7ce045..e509bef8 100644
--- a/plugins/mod_csi_simple.lua
+++ b/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;