Fix JID parsing error

This commit is contained in:
Sam Whited 2014-11-06 14:57:49 -05:00
parent 9db624ec7b
commit 1f5908b1d1

View file

@ -78,7 +78,7 @@ public final class Jid {
if (localpart.isEmpty() || localpart.length() > 1023) {
throw new InvalidJidException(InvalidJidException.INVALID_PART_LENGTH);
}
domainpartStart = atLoc;
domainpartStart = atLoc + 1;
finaljid = lp + "@";
} else {
localpart = "";