# HG changeset patch # User daurnimator # Date 1395260657 14400 # Node ID 44a84674481461c7e386dfea6a4f7613e7e7438f # Parent 74bbcef3978e2792cfb933a2addf6d4c8cc436c0 plugins/muc/muc.lib: Fix wrong variable in `construct_stanza_id` block diff -r 74bbcef3978e -r 44a846744814 plugins/muc/muc.lib.lua --- a/plugins/muc/muc.lib.lua Wed Mar 19 16:19:31 2014 -0400 +++ b/plugins/muc/muc.lib.lua Wed Mar 19 16:24:17 2014 -0400 @@ -610,7 +610,7 @@ 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);