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 | 63025ea426cd94f62ae6ad25e258230e1a4e63d4 (patch) | |
tree | 65b11117d2ff3c51972ef2c5566581d8222cb8c2 /plugins/mod_mam | |
parent | 490ddd34b7f214a6ee1e35cfc6f5a366940aec31 (diff) | |
parent | 811c707639eba97d17d90e45606454fad75e5c32 (diff) | |
download | prosody-63025ea426cd94f62ae6ad25e258230e1a4e63d4.tar.gz prosody-63025ea426cd94f62ae6ad25e258230e1a4e63d4.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 |