Match identity on 'from' address

This commit is contained in:
M66B 2019-09-19 08:26:29 +02:00
parent 5d1cf7a15a
commit a79f1dbb56
1 changed files with 2 additions and 4 deletions

View File

@ -1812,10 +1812,8 @@ class Core {
addresses.addAll(Arrays.asList(message.to));
if (message.cc != null)
addresses.addAll(Arrays.asList(message.cc));
if (EntityFolder.ARCHIVE.equals(folder.type) || BuildConfig.DEBUG) {
if (message.from != null)
addresses.addAll(Arrays.asList(message.from));
}
if (message.from != null)
addresses.addAll(Arrays.asList(message.from));
}
// Search for matching identity