aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_mam/mod_mam.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2019-10-03 16:38:46 +0100
committerMatthew Wild <mwild1@gmail.com>2019-10-03 16:38:46 +0100
commit1f5a8b48df589796f7a817163df091bf7461840f (patch)
tree65b11117d2ff3c51972ef2c5566581d8222cb8c2 /plugins/mod_mam/mod_mam.lua
parent843104372c0ec065a89d09f25079f68b98314c31 (diff)
parent0007aa04f11e9712247da1c15fbdc4f654a36534 (diff)
downloadprosody-1f5a8b48df589796f7a817163df091bf7461840f.tar.gz
prosody-1f5a8b48df589796f7a817163df091bf7461840f.zip
Merge 0.11->trunk
Diffstat (limited to 'plugins/mod_mam/mod_mam.lua')
-rw-r--r--plugins/mod_mam/mod_mam.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_mam/mod_mam.lua b/plugins/mod_mam/mod_mam.lua
index cfa92ff5..e9528d52 100644
--- a/plugins/mod_mam/mod_mam.lua
+++ b/plugins/mod_mam/mod_mam.lua
@@ -93,6 +93,8 @@ module:hook("iq-set/self/"..xmlns_mam..":query", function(event)
local query = stanza.tags[1];
local qid = query.attr.queryid;
+ origin.mam_requested = true;
+
get_prefs(origin.username, true);
-- Search query parameters