aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_mam/mod_mam.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mod_mam/mod_mam.lua b/plugins/mod_mam/mod_mam.lua
index 6d493131..7ac2a512 100644
--- a/plugins/mod_mam/mod_mam.lua
+++ b/plugins/mod_mam/mod_mam.lua
@@ -278,7 +278,8 @@ local function should_store(stanza) --> boolean, reason: string
-- MUC messages always go to the full JID, usually archived by the MUC
return false, "groupchat";
end
- if stanza:get_child("no-permanent-store", "urn:xmpp:hints") then
+ if stanza:get_child("no-store", "urn:xmpp:hints")
+ or stanza:get_child("no-permanent-store", "urn:xmpp:hints") then
return false, "hint";
end
if stanza:get_child("store", "urn:xmpp:hints") then