Software /
code /
prosody
Diff
plugins/mod_mam/mod_mam.lua @ 10298:906ea5e1ec75 0.11
mod_mam: Add flag to session when it performs a MAM query
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 03 Oct 2019 16:38:15 +0100 |
parent | 10028:79ba2d709e72 |
child | 10299:fd94721186b8 |
child | 10523:86422db90e02 |
line wrap: on
line diff
--- 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