do not add in_roster flag when restoring from disk
This commit is contained in:
parent
7b64a031cd
commit
728c86222d
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue