aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/muc.lib.lua
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2014-03-19 16:24:17 -0400
committerdaurnimator <quae@daurnimator.com>2014-03-19 16:24:17 -0400
commitfcf5bbb2f2970f7719ecc53a7add8a6c828bb5f9 (patch)
tree73ebe1ecf9575a4a25aa67f34d91578b55a26220 /plugins/muc/muc.lib.lua
parent19dd45441f0a534547d81a51bfdf0ce7da973fed (diff)
downloadprosody-fcf5bbb2f2970f7719ecc53a7add8a6c828bb5f9.tar.gz
prosody-fcf5bbb2f2970f7719ecc53a7add8a6c828bb5f9.zip
plugins/muc/muc.lib: Fix wrong variable in `construct_stanza_id` block
Diffstat (limited to 'plugins/muc/muc.lib.lua')
-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 7dfb0611..de251716 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -610,7 +610,7 @@ function room_mt:handle_iq_to_occupant(origin, stanza)
return true;
end
do -- construct_stanza_id
- stanza.attr.id = base64.encode(to_jid.."\0"..stanza.attr.id.."\0"..md5(from));
+ stanza.attr.id = base64.encode(o_data.jid.."\0"..stanza.attr.id.."\0"..md5(from));
end
stanza.attr.from, stanza.attr.to = current_nick, o_data.jid;
log("debug", "%s sent private iq stanza to %s (%s)", from, to, o_data.jid);