Changeset

427:fafb3639d4aa

plugins.archive: Remove compat for really old version of XEP-0313
author Kim Alvefur <zash@zash.se>
date Mon, 24 Dec 2018 17:34:46 +0100
parents 425:9f910529d8f0
children 428:bde804b01f28
files plugins/archive.lua
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/archive.lua	Mon Sep 17 13:52:12 2018 +0100
+++ b/plugins/archive.lua	Mon Dec 24 17:34:46 2018 +0100
@@ -42,7 +42,6 @@
 			local result_tag = message:get_child("result", xmlns_mam);
 			if result_tag and result_tag.attr.queryid == queryid then
 				local forwarded = result_tag:get_child("forwarded", xmlns_forward);
-				forwarded = forwarded or message:get_child("forwarded", xmlns_forward); -- COMPAT XEP-0313 pre 2013-05-31
 
 				local id = result_tag.attr.id;
 				local delay = forwarded:get_child("delay", xmlns_delay);