Changeset

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
parents 411:db462d4feb44
children 413:41c67bf8c010
files plugins/archive.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);