aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-07-17 18:49:32 +0100
committerMatthew Wild <mwild1@gmail.com>2018-07-17 18:49:32 +0100
commit0f6cb9b998fa3b412b2b9385ad473bb07d7bb86f (patch)
treeb778b1a583eb31566b987dfa6f3dbc70a03629f0 /plugins/muc
parent6c719ffd0ceaabd03c6338f8d60a6293831402d6 (diff)
downloadprosody-0f6cb9b998fa3b412b2b9385ad473bb07d7bb86f.tar.gz
prosody-0f6cb9b998fa3b412b2b9385ad473bb07d7bb86f.zip
Backed out changeset 0bf0ff3b0f91 (incorrect fix)
Diffstat (limited to 'plugins/muc')
-rw-r--r--plugins/muc/muc.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua
index 338f07be..fc22a630 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -1088,7 +1088,7 @@ module:hook("muc-invite", function(event)
local invite = stanza:get_child("x", "http://jabber.org/protocol/muc#user"):get_child("invite");
local reason = invite:get_child_text("reason") or "";
stanza:tag("body")
- :text(jid_bare(stanza.attr.from).." invited you to the room "..room.jid..(reason == "" and (" ("..reason..")") or ""))
+ :text(invite.attr.from.." invited you to the room "..room.jid..(reason == "" and (" ("..reason..")") or ""))
:up();
end
end);