# HG changeset patch # User Kim Alvefur # Date 1390933281 -3600 # Node ID 09151d26560a42919ca7a897e9e47da3d8a60163 # Parent 28a90f5fea4612c7e470319f79db2976e7bd391b MUC: Tag PMs with , like presence stanzas diff -r 28a90f5fea46 -r 09151d26560a plugins/muc/muc.lib.lua --- a/plugins/muc/muc.lib.lua Sun Jan 26 21:16:24 2014 +0100 +++ b/plugins/muc/muc.lib.lua Tue Jan 28 19:21:21 2014 +0100 @@ -570,6 +570,7 @@ end stanza.attr.from, stanza.attr.to, stanza.attr.id = from, to, id; else -- message + stanza:tag("x", { xmlns = "http://jabber.org/protocol/muc#user" }):up(); stanza.attr.from = current_nick; for jid in pairs(o_data.sessions) do stanza.attr.to = jid;