# HG changeset patch # User Kim Alvefur # Date 1545669286 -3600 # Node ID fafb3639d4aa9f00c10fbfc6ef145fe1772ef698 # Parent 9f910529d8f0ce49186e8c0d77783e75f218b7ef plugins.archive: Remove compat for really old version of XEP-0313 diff -r 9f910529d8f0 -r fafb3639d4aa plugins/archive.lua --- 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);