Software /
code /
prosody
Diff
plugins/mod_csi_simple.lua @ 10822:af42448a8e98
mod_csi_simple: Fix unintentional order of rules from merge
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 09 May 2020 01:01:01 +0200 |
parent | 10817:7c503938ce1d |
child | 10823:b8be600803ee |
line wrap: on
line diff
--- 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;