# HG changeset patch # User Kim Alvefur # Date 1587891502 -7200 # Node ID 8cecb85e4bc476ad7cee2b2f03460b217870dfcc # Parent 55a9e9bf6abb3a0c8fc1e4a27cbf6c4771f2e09e mod_csi_simple: Explicitly consider errors important This was already the case for presence and iq stanzas but not messages. diff -r 55a9e9bf6abb -r 8cecb85e4bc4 plugins/mod_csi_simple.lua --- 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;