Mercurial > prosody-hg
comparison plugins/mod_mam/mod_mam.lua @ 10742:70b7c8f3d32d
mod_mam: Fix typo in comment
If it is with a body then it execution does not get this far
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 21 Apr 2020 23:06:55 +0200 |
| parents | 27f1fcd85ccd |
| children | 3967cf10de1b |
comparison
equal
deleted
inserted
replaced
| 10741:27f1fcd85ccd | 10742:70b7c8f3d32d |
|---|---|
| 286 end | 286 end |
| 287 if stanza:get_child("body") then | 287 if stanza:get_child("body") then |
| 288 return true, "body"; | 288 return true, "body"; |
| 289 end | 289 end |
| 290 if stanza:get_child("subject") then | 290 if stanza:get_child("subject") then |
| 291 -- XXX Who would send a message with a subject but with a body? | 291 -- XXX Who would send a message with a subject but without a body? |
| 292 return true, "subject"; | 292 return true, "subject"; |
| 293 end | 293 end |
| 294 if stanza:get_child("encryption", "urn:xmpp:eme:0") then | 294 if stanza:get_child("encryption", "urn:xmpp:eme:0") then |
| 295 -- Since we can't know what an encrypted message contains, we assume it's important | 295 -- Since we can't know what an encrypted message contains, we assume it's important |
| 296 return true, "encrypted"; | 296 return true, "encrypted"; |
