mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 03:32:16 -05:00
Avoid adding the same recipient twice when using "reply to all"
Fixes issue 6056
This commit is contained in:
parent
dd5ac0f1c4
commit
8eb68c416a
@ -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 New Issue
Block a user