aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_csi_simple.lua
diff options
context:
space:
mode:
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;