mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 05:02:26 -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 (mAction == Action.REPLY_ALL) {
|
||||||
if (message.getReplyTo().length > 0) {
|
if (message.getReplyTo().length > 0) {
|
||||||
for (Address address : message.getFrom()) {
|
for (Address address : message.getFrom()) {
|
||||||
if (!mAccount.isAnIdentity(address)) {
|
if (!mAccount.isAnIdentity(address) && !Utility.arrayContains(replyToAddresses, address)) {
|
||||||
addAddress(mToView, address);
|
addAddress(mToView, address);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user