Comparison

plugins/mod_mam/mod_mam.lua @ 10299:fd94721186b8

Merge 0.11->trunk
author Matthew Wild <mwild1@gmail.com>
date Thu, 03 Oct 2019 16:38:46 +0100
parent 10111:0f335815244f
parent 10298:906ea5e1ec75
child 10559:cfc05e46b979
comparison
equal deleted inserted replaced
10297:da9f21a70e52 10299:fd94721186b8
90 -- Handle archive queries 90 -- Handle archive queries
91 module:hook("iq-set/self/"..xmlns_mam..":query", function(event) 91 module:hook("iq-set/self/"..xmlns_mam..":query", function(event)
92 local origin, stanza = event.origin, event.stanza; 92 local origin, stanza = event.origin, event.stanza;
93 local query = stanza.tags[1]; 93 local query = stanza.tags[1];
94 local qid = query.attr.queryid; 94 local qid = query.attr.queryid;
95
96 origin.mam_requested = true;
95 97
96 get_prefs(origin.username, true); 98 get_prefs(origin.username, true);
97 99
98 -- Search query parameters 100 -- Search query parameters
99 local qwith, qstart, qend; 101 local qwith, qstart, qend;