diff options
author | Sam Whited <sam@samwhited.com> | 2014-11-06 14:57:49 -0500 |
---|---|---|
committer | Sam Whited <sam@samwhited.com> | 2014-11-09 07:00:40 -0500 |
commit | 1f5908b1d1dcc7da971659157dbab9345390768a (patch) | |
tree | 3af99efcb11587d7bce5fd77c1de80f1a3550c81 /src/main | |
parent | 9db624ec7b6323c7e55aab6f8ec8489d1068fb5f (diff) |
Fix JID parsing error
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/eu/siacs/conversations/xmpp/jid/Jid.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/xmpp/jid/Jid.java b/src/main/java/eu/siacs/conversations/xmpp/jid/Jid.java index 0afd9102..b973ded2 100644 --- a/src/main/java/eu/siacs/conversations/xmpp/jid/Jid.java +++ b/src/main/java/eu/siacs/conversations/xmpp/jid/Jid.java @@ -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 = ""; |