aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-04-21 23:06:55 +0200
committerKim Alvefur <zash@zash.se>2020-04-21 23:06:55 +0200
commitb0dbacb69cac71c39088328f740b7e4b59831b81 (patch)
tree44804d84a5444886f3c1ce262647170c734a9204
parent617ac066385fea7bc1841252c87ea786bc84eafc (diff)
downloadprosody-b0dbacb69cac71c39088328f740b7e4b59831b81.tar.gz
prosody-b0dbacb69cac71c39088328f740b7e4b59831b81.zip
mod_mam: Fix typo in comment
If it is with a body then it execution does not get this far
-rw-r--r--plugins/mod_mam/mod_mam.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_mam/mod_mam.lua b/plugins/mod_mam/mod_mam.lua
index 69282857..6d493131 100644
--- a/plugins/mod_mam/mod_mam.lua
+++ b/plugins/mod_mam/mod_mam.lua
@@ -288,7 +288,7 @@ local function should_store(stanza) --> boolean, reason: string
return true, "body";
end
if stanza:get_child("subject") then
- -- XXX Who would send a message with a subject but with a body?
+ -- XXX Who would send a message with a subject but without a body?
return true, "subject";
end
if stanza:get_child("encryption", "urn:xmpp:eme:0") then