Software /
code /
prosody
Diff
plugins/muc/muc.lib.lua @ 6122:44a846744814
plugins/muc/muc.lib: Fix wrong variable in `construct_stanza_id` block
author | daurnimator <quae@daurnimator.com> |
---|---|
date | Wed, 19 Mar 2014 16:24:17 -0400 |
parent | 6121:74bbcef3978e |
child | 6123:7f82bbd249fe |
line wrap: on
line diff
--- 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);