Mercurial > prosody-hg
comparison plugins/mod_csi_simple.lua @ 10817:7c503938ce1d
Merge 0.11->trunk
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 09 May 2020 00:48:22 +0200 |
| parents | 0d365c0ee9fe b4c2c7fae7c0 |
| children | af42448a8e98 |
comparison
equal
deleted
inserted
replaced
| 10813:4a9ff4f61796 | 10817:7c503938ce1d |
|---|---|
| 65 end | 65 end |
| 66 for important in important_payloads do | 66 for important in important_payloads do |
| 67 if stanza:find(important) then | 67 if stanza:find(important) then |
| 68 return true; | 68 return true; |
| 69 end | 69 end |
| 70 end | |
| 71 if stanza:get_child(nil, "urn:xmpp:jingle-message:0") then | |
| 72 return true; | |
| 70 end | 73 end |
| 71 return false; | 74 return false; |
| 72 elseif st_name == "iq" then | 75 elseif st_name == "iq" then |
| 73 return true; | 76 return true; |
| 74 end | 77 end |
