# HG changeset patch # User Kim Alvefur # Date 1546805291 -3600 # Node ID ab12fd48e124a77a9884cc99de1b7ca7999d0e83 # Parent 57ceffb139637e7c65a99c0c5282a46955af8c3d mod_csi_simple: Consider messages forwarded from another of the users clients as important (fixes part of #1250) diff -r 57ceffb13963 -r ab12fd48e124 plugins/mod_csi_simple.lua --- a/plugins/mod_csi_simple.lua Sun Jan 06 21:03:09 2019 +0100 +++ b/plugins/mod_csi_simple.lua Sun Jan 06 21:08:11 2019 +0100 @@ -63,6 +63,9 @@ 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