diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-03-28 09:51:03 -0400 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-03-28 09:51:03 -0400 |
commit | 17a69ae6922f1e1b88ae821ce3aeceeed14bf466 (patch) | |
tree | 6e89afeabc71219c5c683df946478f89ff6dcd37 | |
parent | ceb0575c51ee05085440903414e02b6c986301a9 (diff) | |
parent | 94d4efbee4125616a34be53259dbf8298f39a70a (diff) | |
download | prosody-17a69ae6922f1e1b88ae821ce3aeceeed14bf466.tar.gz prosody-17a69ae6922f1e1b88ae821ce3aeceeed14bf466.zip |
Merge 0.9->trunk
-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 91b4792d..b6167a19 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -892,7 +892,7 @@ function room_mt:handle_to_room(origin, stanza) -- presence changes and groupcha 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 |