# HG changeset patch # User Matthew Wild # Date 1570117095 -3600 # Node ID 906ea5e1ec7521f2c0b991488eb593815c306a24 # Parent f9301d93de727de6dbcf26a6eb44e313e098b4c5 mod_mam: Add flag to session when it performs a MAM query diff -r f9301d93de72 -r 906ea5e1ec75 plugins/mod_mam/mod_mam.lua --- a/plugins/mod_mam/mod_mam.lua Sun Sep 29 20:48:00 2019 +0200 +++ b/plugins/mod_mam/mod_mam.lua Thu Oct 03 16:38:15 2019 +0100 @@ -90,6 +90,8 @@ local query = stanza.tags[1]; local qid = query.attr.queryid; + origin.mam_requested = true; + get_prefs(origin.username, true); -- Search query parameters