From 6b047bed97179c86e4eb733b4c123de743eb4702 Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Sat, 20 Dec 2014 12:52:45 +0100 Subject: fixed another break continue bug --- .../java/eu/siacs/conversations/services/XmppConnectionService.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/main') diff --git a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java index 1273ae86..76f2e36b 100644 --- a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java @@ -865,10 +865,9 @@ public class XmppConnectionService extends Service implements OnPhoneContactsLoa try { jid = Jid.fromString(phoneContact.getString("jid")); } catch (final InvalidJidException e) { - break; + continue; } - final Contact contact = account.getRoster() - .getContact(jid); + final Contact contact = account.getRoster().getContact(jid); String systemAccount = phoneContact.getInt("phoneid") + "#" + phoneContact.getString("lookup"); -- cgit v1.2.3