diff options
author | daurnimator <quae@daurnimator.com> | 2014-03-19 16:24:17 -0400 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2014-03-19 16:24:17 -0400 |
commit | 3b36ae6f437d90e504e3de4d7d2996f9197a805a (patch) | |
tree | 73ebe1ecf9575a4a25aa67f34d91578b55a26220 /plugins | |
parent | 74fb113acd8f4c6c20c7ebb5df7ab9ac0de5932e (diff) | |
download | prosody-3b36ae6f437d90e504e3de4d7d2996f9197a805a.tar.gz prosody-3b36ae6f437d90e504e3de4d7d2996f9197a805a.zip |
plugins/muc/muc.lib: Fix wrong variable in `construct_stanza_id` block
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/muc/muc.lib.lua | 2 |
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); |