mod_csi_pump: Consider presence other than presence updates important (ie subscription requests)
--- a/mod_csi_pump/mod_csi_pump.lua Thu Apr 27 19:54:53 2017 +0200
+++ b/mod_csi_pump/mod_csi_pump.lua Thu Apr 27 19:55:18 2017 +0200
@@ -48,7 +48,10 @@
local st_type = stanza.attr.type;
if st_name == "presence" then
-- TODO check for MUC status codes?
- return false;
+ if st_type == nil or st_type == "unavailable" then
+ return false;
+ end
+ return true;
elseif st_name == "message" then
if st_type == "headline" then
return false;