Contact: store last used identity

This commit is contained in:
M66B
2022-04-18 23:12:24 +02:00
parent 7764b6450f
commit 0431c7c27c
10 changed files with 2776 additions and 12 deletions

View File

@@ -6446,7 +6446,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
if (target.block &&
EntityFolder.JUNK.equals(target.targetFolder.type))
EntityContact.update(context,
message.account, message.from,
message.account, message.identity, message.from,
EntityContact.TYPE_JUNK, message.received);
}
@@ -8562,7 +8562,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
if (block_sender)
EntityContact.update(context,
message.account, message.from,
message.account, message.identity, message.from,
EntityContact.TYPE_JUNK, message.received);
if (account.protocol == EntityAccount.TYPE_IMAP) {