mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Contact: store last used identity
This commit is contained in:
@@ -1080,6 +1080,7 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
|
||||
JSONObject jcontact = (JSONObject) jcontacts.get(c);
|
||||
EntityContact contact = EntityContact.fromJSON(jcontact);
|
||||
contact.account = account.id;
|
||||
contact.identity = xIdentity.get(contact.identity);
|
||||
if (db.contact().getContact(contact.account, contact.type, contact.email) == null)
|
||||
contact.id = db.contact().insertContact(contact);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user