changeset 5397 | ed55a48270be |
parent 5335 | bb81c13d2c6f |
child 5519 | 06e188268df1 |
--- a/plugins/muc/muc.lib.lua Thu Mar 28 09:31:07 2013 -0400 +++ b/plugins/muc/muc.lib.lua Thu Mar 28 09:50:21 2013 -0400 @@ -892,7 +892,7 @@ origin.send(st.error_reply(stanza, "auth", "forbidden")); end else - self:broadcast_message(stanza, self:get_historylength() > 0); + self:broadcast_message(stanza, self:get_historylength() > 0 and stanza:get_child("body")); end stanza.attr.from = from; end