plugins/mod_csi_simple.lua
changeset 10773 8cecb85e4bc4
parent 10737 89e0f5cb60a1
child 10774 b4cbe72966c9
--- a/plugins/mod_csi_simple.lua	Thu Apr 23 19:24:27 2020 +0200
+++ b/plugins/mod_csi_simple.lua	Sun Apr 26 10:58:22 2020 +0200
@@ -23,6 +23,9 @@
 	local st_name = stanza.name;
 	if not st_name then return false; end
 	local st_type = stanza.attr.type;
+	if st_type == "error" then
+		return true;
+	end
 	if st_name == "presence" then
 		if st_type == nil or st_type == "unavailable" then
 			return false;