Mercurial > prosody-hg
comparison plugins/mod_mam/mod_mam.lua @ 13790:24252947a8ca 13.0
doap: Add XEP-0333
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 23 Mar 2025 19:59:45 +0100 |
| parents | 1a8e47d42264 |
| children | 9cfc62b4625b |
comparison
equal
deleted
inserted
replaced
| 13789:1a8e47d42264 | 13790:24252947a8ca |
|---|---|
| 362 -- If it's important enough to ask for a receipt then it's important enough to archive | 362 -- If it's important enough to ask for a receipt then it's important enough to archive |
| 363 -- and the same applies to the receipt | 363 -- and the same applies to the receipt |
| 364 return true, "receipt"; | 364 return true, "receipt"; |
| 365 end | 365 end |
| 366 if stanza:get_child(nil, "urn:xmpp:chat-markers:0") then | 366 if stanza:get_child(nil, "urn:xmpp:chat-markers:0") then |
| 367 -- XXX Experimental XEP | |
| 368 return true, "marker"; | 367 return true, "marker"; |
| 369 end | 368 end |
| 370 if stanza:get_child("x", "jabber:x:conference") | 369 if stanza:get_child("x", "jabber:x:conference") |
| 371 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 |
| 372 return true, "invite"; | 371 return true, "invite"; |
