1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-01-10 13:18:09 -05:00

Avoid adding the same recipient twice when using "reply to all"

Fixes issue 6056
This commit is contained in:
cketti 2014-02-23 00:30:53 +01:00
parent d3a5395d2c
commit ca16f36db9

View File

@ -2802,7 +2802,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);
}
}