plugins/mod_csi_simple.lua
changeset 10828 c8430ee33967
parent 10827 b8be600803ee
child 10829 2d002a4af144
--- a/plugins/mod_csi_simple.lua	Sat May 09 01:01:03 2020 +0200
+++ b/plugins/mod_csi_simple.lua	Sat May 09 13:33:26 2020 +0200
@@ -28,7 +28,7 @@
 	if not st_name then return false; end
 	local st_type = stanza.attr.type;
 	if st_name == "presence" then
-		if st_type == nil or st_type == "unavailable" or st_name == "error" then
+		if st_type == nil or st_type == "unavailable" or st_type == "error" then
 			return false, "presence update";
 		end
 		-- TODO Some MUC awareness, e.g. check for the 'this relates to you' status code