Match identities by BCC too

This commit is contained in:
M66B 2019-10-13 16:37:38 +02:00
parent 469574a598
commit 3446c88630
2 changed files with 3 additions and 1 deletions

2
FAQ.md
View File

@ -947,7 +947,7 @@ Note that this is independent of receiving messages.
**(34) How are identities matched?**
Identities are as expected matched by account.
For incoming folders the *to*, *cc* and *from* addresses will be checked
For incoming folders the *to*, *cc*, *bcc* and *from* addresses will be checked
and for outgoing folders (drafts, outbox and sent) the *from* addresses will be checked.
The matched address will be shown as *via* in the addresses section.

View File

@ -2332,6 +2332,8 @@ class Core {
addresses.addAll(Arrays.asList(message.to));
if (message.cc != null)
addresses.addAll(Arrays.asList(message.cc));
if (message.bcc != null)
addresses.addAll(Arrays.asList(message.bcc));
if (message.from != null)
addresses.addAll(Arrays.asList(message.from));
}