aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commit63025ea426cd94f62ae6ad25e258230e1a4e63d4 (patch)
tree65b11117d2ff3c51972ef2c5566581d8222cb8c2 /plugins
parent490ddd34b7f214a6ee1e35cfc6f5a366940aec31 (diff)
parent811c707639eba97d17d90e45606454fad75e5c32 (diff)
downloadprosody-63025ea426cd94f62ae6ad25e258230e1a4e63d4.tar.gz
prosody-63025ea426cd94f62ae6ad25e258230e1a4e63d4.zip
Merge 0.11->trunk
Diffstat (limited to 'plugins')
-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