Commit 252a7e70 authored by Armando Jagucki's avatar Armando Jagucki Committed by ajagucki

Send an error message when a user tries to destroy the room without being present in the room.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@10056 b35dd754-fafc-0310-a699-88a17e54d16e
parent ab77d763
......@@ -345,8 +345,7 @@ public class LocalMUCUser implements MUCUser {
else {
MUCRole role = roles.get(group);
if (role == null) {
// TODO: send error message to user (can't send packets to group you haven't
// joined)
sendErrorPacket(packet, PacketError.Condition.not_authorized);
}
else if (IQ.Type.result == packet.getType()) {
// Only process IQ result packet if it's a private packet sent to another
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment