do not add in_roster flag when restoring from disk

This commit is contained in:
Daniel Gultsch 2018-07-09 11:06:23 +02:00
parent 7b64a031cd
commit 728c86222d

View file

@ -77,7 +77,6 @@ public class Roster {
return; return;
} }
contact.setAccount(account); contact.setAccount(account);
contact.setOption(Contact.Options.IN_ROSTER);
synchronized (this.contacts) { synchronized (this.contacts) {
contacts.put(contact.getJid().asBareJid(), contact); contacts.put(contact.getJid().asBareJid(), contact);
} }