From 1f5908b1d1dcc7da971659157dbab9345390768a Mon Sep 17 00:00:00 2001 From: Sam Whited Date: Thu, 6 Nov 2014 14:57:49 -0500 Subject: [PATCH] Fix JID parsing error --- src/main/java/eu/siacs/conversations/xmpp/jid/Jid.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 0afd91027..b973ded22 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 = "";