Avoid adding the same recipient twice when using "reply to all"
Fixes issue 6056
This commit is contained in:
parent
dd5ac0f1c4
commit
8eb68c416a
1 changed files with 1 additions and 1 deletions
|
@ -2823,7 +2823,7 @@ public class MessageCompose extends K9Activity implements OnClickListener,
|
|||
if (mAction == Action.REPLY_ALL) {
|
||||
if (message.getReplyTo().length > 0) {
|
||||
for (Address address : message.getFrom()) {
|
||||
if (!mAccount.isAnIdentity(address)) {
|
||||
if (!mAccount.isAnIdentity(address) && !Utility.arrayContains(replyToAddresses, address)) {
|
||||
addAddress(mToView, address);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue