From 5933fcf383b2bd41ab005195ce3908a1695f2ee3 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 6 Jan 2019 21:08:11 +0100 Subject: mod_csi_simple: Consider messages forwarded from another of the users clients as important (fixes part of #1250) --- plugins/mod_csi_simple.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/mod_csi_simple.lua b/plugins/mod_csi_simple.lua index 51644515..3f0560ca 100644 --- a/plugins/mod_csi_simple.lua +++ b/plugins/mod_csi_simple.lua @@ -63,6 +63,9 @@ module:hook("csi-is-stanza-important", function (event) if st_type == "headline" then return false; end + if stanza:get_child("sent", "urn:xmpp:carbons:2") then + return true; + end if stanza:get_child("body") then return true; end -- cgit v1.2.3