Commit 101c345e authored by David Smith's avatar David Smith Committed by david

Send a malformed JID error if we encounter an exception validating the JID...

Send a malformed JID error if we encounter an exception validating the JID during invitations. r=Daniel, CS-6011

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@10557 b35dd754-fafc-0310-a699-88a17e54d16e
parent dd954596
......@@ -322,6 +322,9 @@ public class LocalMUCUser implements MUCUser {
catch (CannotBeInvitedException e) {
sendErrorPacket(packet, PacketError.Condition.not_acceptable);
}
catch (IllegalArgumentException e) {
sendErrorPacket(packet, PacketError.Condition.jid_malformed);
}
}
}
}
......
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