Software /
code /
prosody
Comparison
plugins/mod_mam/mod_mam.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 | 12030:9f8206e99b89 |
child | 12306:81fc7fc77e68 |
comparison
equal
deleted
inserted
replaced
12233:e4530bdbf5f3 | 12234:1c47162dd965 |
---|---|
368 end | 368 end |
369 if stanza:get_child("x", "jabber:x:conference") | 369 if stanza:get_child("x", "jabber:x:conference") |
370 or stanza:find("{http://jabber.org/protocol/muc#user}x/invite") then | 370 or stanza:find("{http://jabber.org/protocol/muc#user}x/invite") then |
371 return true, "invite"; | 371 return true, "invite"; |
372 end | 372 end |
373 if stanza:get_child(nil, "urn:xmpp:jingle-message:0") then | 373 if stanza:get_child(nil, "urn:xmpp:jingle-message:0") or stanza:get_child(nil, "urn:xmpp:jingle-message:1") then |
374 -- XXX Experimental XEP | 374 -- XXX Experimental XEP |
375 return true, "jingle call"; | 375 return true, "jingle call"; |
376 end | 376 end |
377 | 377 |
378 -- The IM-NG thing to do here would be to return `not st_to_full` | 378 -- The IM-NG thing to do here would be to return `not st_to_full` |