Software / code / prosody-modules
Changeset
6217:8ecd53452af8
mod_push2: LMC stanzas are not important
| author | Stephen Paul Weber <singpolyma@singpolyma.net> |
|---|---|
| date | Tue, 25 Mar 2025 15:20:35 -0500 |
| parents | 6216:2f2539ce8f3b |
| children | 6218:277db84b0c95 |
| files | mod_push2/mod_push2.lua |
| diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_push2/mod_push2.lua Mon Mar 24 22:18:47 2025 -0500 +++ b/mod_push2/mod_push2.lua Tue Mar 25 15:20:35 2025 -0500 @@ -204,6 +204,11 @@ end end + -- edits are not imporatnt + if stanza:get_child("replace", "urn:xmpp:message-correct:0") then + return false + end + -- empty bodies are not important return has_body(stanza) end