Software /
code /
prosody
Changeset
10232:58685d77c07c
Merge 0.11->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 31 Aug 2019 16:15:09 +0200 |
parents | 10231:949b1b72537a (current diff) 10230:dd7e924c74ef (diff) |
children | 10233:600eee3c4752 |
files | |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/muc/history.lib.lua Sat Aug 31 16:15:51 2019 +0200 +++ b/plugins/muc/history.lib.lua Sat Aug 31 16:15:09 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);