# HG changeset patch # User Kim Alvefur # Date 1602937181 -7200 # Node ID ab820b2ad1990b7a270b441bc3e986c7a036d97e # Parent 96da09c771a1acc0f0aae2736231c17c8839b229 MUC: Remove XEP-0091: Legacy Delayed Delivery Why do we still include this? Deprecated in 2007, obsoleted in 2009. Removes redundant timestamp that nobody should be looking at since many years and a redundant copy of the room JID. diff -r 96da09c771a1 -r ab820b2ad199 doc/doap.xml --- a/doc/doap.xml Fri Oct 16 14:01:25 2020 +0100 +++ b/doc/doap.xml Sat Oct 17 14:19:41 2020 +0200 @@ -187,6 +187,10 @@ + 1.4 + 0.1 + 0.12 + Gone from offline messages in 0.10.0, gone from MUC in 0.12 diff -r 96da09c771a1 -r ab820b2ad199 plugins/muc/history.lib.lua --- a/plugins/muc/history.lib.lua Fri Oct 16 14:01:25 2020 +0100 +++ b/plugins/muc/history.lib.lua Sat Oct 17 14:19:41 2020 +0200 @@ -182,9 +182,6 @@ stanza:tag("delay", { -- XEP-0203 xmlns = "urn:xmpp:delay", from = room.jid, stamp = stamp }):up(); - stanza:tag("x", { -- XEP-0091 (deprecated) - xmlns = "jabber:x:delay", from = room.jid, stamp = datetime.legacy() - }):up(); local entry = { stanza = stanza, timestamp = ts }; table.insert(history, entry); while #history > get_historylength(room) do table.remove(history, 1) end