Software /
code /
prosody
Comparison
plugins/mod_csi_simple.lua @ 12234:1c47162dd965
plugins: Update for namespace bump in XEP-0353 v0.4.0
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 11 Jan 2022 17:51:26 +0100 |
parent | 11928:16cf863b36c0 |
child | 12552:b4bc5a715e65 |
child | 13090:3cea237f9d1d |
comparison
equal
deleted
inserted
replaced
12233:e4530bdbf5f3 | 12234:1c47162dd965 |
---|---|
67 return true, "encrypted"; | 67 return true, "encrypted"; |
68 end | 68 end |
69 if stanza:get_child("x", "jabber:x:conference") or stanza:find("{http://jabber.org/protocol/muc#user}x/invite") then | 69 if stanza:get_child("x", "jabber:x:conference") or stanza:find("{http://jabber.org/protocol/muc#user}x/invite") then |
70 return true, "invite"; | 70 return true, "invite"; |
71 end | 71 end |
72 if stanza:get_child(nil, "urn:xmpp:jingle-message:0") then | 72 if stanza:get_child(nil, "urn:xmpp:jingle-message:0") or stanza:get_child(nil, "urn:xmpp:jingle-message:1") then |
73 -- XXX Experimental XEP | 73 -- XXX Experimental XEP |
74 return true, "jingle call"; | 74 return true, "jingle call"; |
75 end | 75 end |
76 for important in important_payloads do | 76 for important in important_payloads do |
77 if stanza:find(important) then | 77 if stanza:find(important) then |