diff 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
line wrap: on
line diff
--- a/plugins/mod_csi_simple.lua	Thu Apr 23 13:52:19 2020 +0100
+++ b/plugins/mod_csi_simple.lua	Thu Apr 23 13:53:18 2020 +0100
@@ -48,6 +48,9 @@
 		if stanza:get_child("encryption", "urn:xmpp:eme:0") then
 			return true;
 		end
+		if stanza:get_child("x", "jabber:x:conference") or stanza:find("{http://jabber.org/protocol/muc#user}x/invite") then
+			return true;
+		end
 		for important in important_payloads do
 			if stanza:find(important) then
 				return true;