comparison plugins/mod_csi_simple.lua @ 10758:d0e6d5bc7ea2

Merge with upstream trunk
author Matthew Wild <mwild1@gmail.com>
date Thu, 23 Apr 2020 13:53:18 +0100
parents 89e0f5cb60a1
children 8cecb85e4bc4
comparison
equal deleted inserted replaced
10757:9dec7cddb40b 10758:d0e6d5bc7ea2
44 end 44 end
45 if stanza:get_child("subject") then 45 if stanza:get_child("subject") then
46 return true; 46 return true;
47 end 47 end
48 if stanza:get_child("encryption", "urn:xmpp:eme:0") then 48 if stanza:get_child("encryption", "urn:xmpp:eme:0") then
49 return true;
50 end
51 if stanza:get_child("x", "jabber:x:conference") or stanza:find("{http://jabber.org/protocol/muc#user}x/invite") then
49 return true; 52 return true;
50 end 53 end
51 for important in important_payloads do 54 for important in important_payloads do
52 if stanza:find(important) then 55 if stanza:find(important) then
53 return true; 56 return true;