Fix JID parsing error
This commit is contained in:
parent
9db624ec7b
commit
1f5908b1d1
|
@ -78,7 +78,7 @@ public final class Jid {
|
||||||
if (localpart.isEmpty() || localpart.length() > 1023) {
|
if (localpart.isEmpty() || localpart.length() > 1023) {
|
||||||
throw new InvalidJidException(InvalidJidException.INVALID_PART_LENGTH);
|
throw new InvalidJidException(InvalidJidException.INVALID_PART_LENGTH);
|
||||||
}
|
}
|
||||||
domainpartStart = atLoc;
|
domainpartStart = atLoc + 1;
|
||||||
finaljid = lp + "@";
|
finaljid = lp + "@";
|
||||||
} else {
|
} else {
|
||||||
localpart = "";
|
localpart = "";
|
||||||
|
|
Loading…
Reference in New Issue