Comparison

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
comparison
equal deleted inserted replaced
9770:76cb409db537 9771:bf92f37de137
74 return true; 74 return true;
75 end 75 end
76 if stanza:get_child("subject") then 76 if stanza:get_child("subject") then
77 return true; 77 return true;
78 end 78 end
79 if stanza:get_child("encryption", "urn:xmpp:eme:0") then
80 return true;
81 end
79 return false; 82 return false;
80 end 83 end
81 return true; 84 return true;
82 end, -1); 85 end, -1);
83 86