aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/services/XmppConnectionService.java
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2014-05-22 12:57:47 +0200
committerDaniel Gultsch <daniel@gultsch.de>2014-05-22 12:57:47 +0200
commitad960b393d04b22265b449abac05d5d5bf2eab8a (patch)
tree0ef90dcdddd5258e9a02b26c8df70c8989b600d9 /src/eu/siacs/conversations/services/XmppConnectionService.java
parentf0d2ca260e3f1910f27c57e20e130cd0cb123e94 (diff)
implementet missing methods on the new roster mgmt
Diffstat (limited to '')
-rw-r--r--src/eu/siacs/conversations/services/XmppConnectionService.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java
index 63ce6a5b..c01c7a1a 100644
--- a/src/eu/siacs/conversations/services/XmppConnectionService.java
+++ b/src/eu/siacs/conversations/services/XmppConnectionService.java
@@ -894,6 +894,9 @@ public class XmppConnectionService extends Service {
new OnPhoneContactsLoadedListener() {
@Override
public void onPhoneContactsLoaded(List<Bundle> phoneContacts) {
+ for(Account account : accounts) {
+ account.getRoster().clearSystemAccounts();
+ }
for (Bundle phoneContact : phoneContacts) {
for (Account account : accounts) {
String jid = phoneContact.getString("jid");