# HG changeset patch # User Kim Alvefur # Date 1588978861 -7200 # Node ID af42448a8e98bf1dc126ff53837ce9952733413d # Parent 30fc1ed5647a5d62717711695faf31b2a2a39589 mod_csi_simple: Fix unintentional order of rules from merge diff -r 30fc1ed5647a -r af42448a8e98 plugins/mod_csi_simple.lua --- a/plugins/mod_csi_simple.lua Sat May 09 00:57:42 2020 +0200 +++ b/plugins/mod_csi_simple.lua Sat May 09 01:01:01 2020 +0200 @@ -63,14 +63,14 @@ if stanza:get_child("x", "jabber:x:conference") or stanza:find("{http://jabber.org/protocol/muc#user}x/invite") then return true, "invite"; end + if stanza:get_child(nil, "urn:xmpp:jingle-message:0") then + return true, "jingle call"; + end for important in important_payloads do if stanza:find(important) then return true; end end - if stanza:get_child(nil, "urn:xmpp:jingle-message:0") then - return true; - end return false; elseif st_name == "iq" then return true;