Commit 728deb44 authored by guus's avatar guus

OF-526: Ignore invalid JIDs.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@12989 b35dd754-fafc-0310-a699-88a17e54d16e
parent 9ae4aac2
...@@ -42,9 +42,9 @@ ...@@ -42,9 +42,9 @@
try { try {
alternateJID = new JID(alternateJIDString.trim()); alternateJID = new JID(alternateJIDString.trim());
if (alternateJID.getNode() == null) { if (alternateJID.getNode() == null) {
alternateJID == null; alternateJID = null;
} }
catch (IllegalArgumentException ex) { } catch (IllegalArgumentException ex) {
alternateJID = null; alternateJID = null;
} }
} else { } else {
......
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