Software /
code /
prosody
Diff
plugins/mod_csi_simple.lua @ 9771:bf92f37de137 0.11
mod_csi_simple: Consider messages encrypted payload as important (fixes part of #1250)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 06 Jan 2019 21:09:32 +0100 |
parent | 9770:76cb409db537 |
child | 9909:3229be01a08a |
child | 10816:b4c2c7fae7c0 |
line wrap: on
line diff
--- a/plugins/mod_csi_simple.lua Sun Jan 06 21:09:00 2019 +0100 +++ b/plugins/mod_csi_simple.lua Sun Jan 06 21:09:32 2019 +0100 @@ -76,6 +76,9 @@ if stanza:get_child("subject") then return true; end + if stanza:get_child("encryption", "urn:xmpp:eme:0") then + return true; + end return false; end return true;