mod_csi_pump: Consider groupchat message with subject important
--- a/mod_csi_pump/mod_csi_pump.lua Sun Jan 22 04:47:06 2017 +0100 +++ b/mod_csi_pump/mod_csi_pump.lua Mon Jan 23 16:00:20 2017 +0100 @@ -54,8 +54,9 @@ return false; end local body = stanza:get_child_text("body"); - if not body then return false; end if st_type == "groupchat" then + if stanza:get_child_text("subject") then return true; end + if not body then return false; end if body:find(session.username, 1, true) then return true; end local rooms = session.rooms_joined; if not rooms then return false; end