diff options
author | Matthew Wild <mwild1@gmail.com> | 2019-10-03 16:38:46 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2019-10-03 16:38:46 +0100 |
commit | 1f5a8b48df589796f7a817163df091bf7461840f (patch) | |
tree | 65b11117d2ff3c51972ef2c5566581d8222cb8c2 /plugins/mod_mam | |
parent | 843104372c0ec065a89d09f25079f68b98314c31 (diff) | |
parent | 0007aa04f11e9712247da1c15fbdc4f654a36534 (diff) | |
download | prosody-1f5a8b48df589796f7a817163df091bf7461840f.tar.gz prosody-1f5a8b48df589796f7a817163df091bf7461840f.zip |
Merge 0.11->trunk
Diffstat (limited to 'plugins/mod_mam')
-rw-r--r-- | plugins/mod_mam/mod_mam.lua | 2 |
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 |