aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_csi_simple.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-05-09 01:01:01 +0200
committerKim Alvefur <zash@zash.se>2020-05-09 01:01:01 +0200
commitfc8a50cd73d43df270a88710d26fec550e33752e (patch)
treef363101692c2d0048eafc90571d23293d256cd46 /plugins/mod_csi_simple.lua
parent1f8daf736d2ebfee0222b2bbccad5ed41eaf16a8 (diff)
downloadprosody-fc8a50cd73d43df270a88710d26fec550e33752e.tar.gz
prosody-fc8a50cd73d43df270a88710d26fec550e33752e.zip
mod_csi_simple: Fix unintentional order of rules from merge
Diffstat (limited to 'plugins/mod_csi_simple.lua')
-rw-r--r--plugins/mod_csi_simple.lua6
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;