Software /
code /
verse
Diff
plugins/archive.lua @ 412:ef66f302fe97
plugins.archive: Don't require 'queryid' attribute in iq response
Not needed since <fin> moved out of the last <message>
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 31 Mar 2018 15:43:28 +0200 |
parent | 409:171c4a8cc3de |
child | 413:41c67bf8c010 |
line wrap: on
line diff
--- a/plugins/archive.lua Tue Apr 18 16:46:26 2017 +0200 +++ b/plugins/archive.lua Sat Mar 31 15:43:28 2018 +0200 @@ -64,7 +64,7 @@ return true; end local finnished = reply:get_child("fin", xmlns_mam) - if finnished and finnished.attr.queryid == queryid then + if finnished then local rset = rsm.get(finnished); for k,v in pairs(rset or NULL) do results[k]=v; end callback(results);