Software /
code /
prosody
Changeset
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 |
parents | 10293:f9301d93de72 |
children | 10299:fd94721186b8 10341:4e406944ff85 |
files | plugins/mod_mam/mod_mam.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
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