# HG changeset patch # User Stephen Paul Weber # Date 1742934035 18000 # Node ID 8ecd53452af8f6b7371016c3c336d0424631f24f # Parent 2f2539ce8f3b5a12f761ec380546067c83c2115f mod_push2: LMC stanzas are not important diff -r 2f2539ce8f3b -r 8ecd53452af8 mod_push2/mod_push2.lua --- 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