aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-12-20 12:52:45 +0100
committeriNPUTmice <daniel@gultsch.de>2014-12-20 12:52:45 +0100
commit6b047bed97179c86e4eb733b4c123de743eb4702 (patch)
tree7b6d3442642792d1d5a2ed1fa07d36e9e8054f23 /src/main/java
parent88f43643bf92b5f5e54be5a9ec98409c30b83ec5 (diff)
fixed another break continue bug
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/eu/siacs/conversations/services/XmppConnectionService.java5
1 files changed, 2 insertions, 3 deletions
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");