diff -r 224e681c4db2 -r dd7e924c74ef plugins/muc/history.lib.lua --- a/plugins/muc/history.lib.lua Tue Jul 30 08:01:22 2019 +0200 +++ b/plugins/muc/history.lib.lua Sat Aug 31 16:08:45 2019 +0200 @@ -178,10 +178,10 @@ local ts = gettime(); local stamp = datetime.datetime(ts); stanza:tag("delay", { -- XEP-0203 - xmlns = "urn:xmpp:delay", from = module.host, stamp = stamp + xmlns = "urn:xmpp:delay", from = room.jid, stamp = stamp }):up(); stanza:tag("x", { -- XEP-0091 (deprecated) - xmlns = "jabber:x:delay", from = module.host, stamp = datetime.legacy() + xmlns = "jabber:x:delay", from = room.jid, stamp = datetime.legacy() }):up(); local entry = { stanza = stanza, timestamp = ts }; table.insert(history, entry);