diff options
author | Kim Alvefur <zash@zash.se> | 2020-05-09 01:01:01 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-05-09 01:01:01 +0200 |
commit | dfee86b33890adb9f82afcb04298495ec26c8eb3 (patch) | |
tree | f363101692c2d0048eafc90571d23293d256cd46 | |
parent | 03b29a2a10fd8aa4712ad904b8b8999df250d9c3 (diff) | |
download | prosody-dfee86b33890adb9f82afcb04298495ec26c8eb3.tar.gz prosody-dfee86b33890adb9f82afcb04298495ec26c8eb3.zip |
mod_csi_simple: Fix unintentional order of rules from merge
-rw-r--r-- | plugins/mod_csi_simple.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/mod_csi_simple.lua b/plugins/mod_csi_simple.lua index 3bad872d..a62b7841 100644 --- a/plugins/mod_csi_simple.lua +++ b/plugins/mod_csi_simple.lua @@ -63,14 +63,14 @@ function is_important(stanza) --> boolean, reason: string 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; |