diff options
author | Matthew Wild <mwild1@gmail.com> | 2019-10-03 16:38:15 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2019-10-03 16:38:15 +0100 |
commit | 4d9a571128c08173315407e243a2b1badb5d9f8c (patch) | |
tree | fb2178ba63cd5cb14a01f381ec78afddd7218da6 | |
parent | 8426a1b88e2a12239affdc970c845adfbda7bfdb (diff) | |
download | prosody-4d9a571128c08173315407e243a2b1badb5d9f8c.tar.gz prosody-4d9a571128c08173315407e243a2b1badb5d9f8c.zip |
mod_mam: Add flag to session when it performs a MAM query
-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 8900a2be..b500770f 100644 --- a/plugins/mod_mam/mod_mam.lua +++ b/plugins/mod_mam/mod_mam.lua @@ -90,6 +90,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 |