diff --git a/src/com/fsck/k9/activity/MessageList.java b/src/com/fsck/k9/activity/MessageList.java index 7b36f5426..79a125b2f 100644 --- a/src/com/fsck/k9/activity/MessageList.java +++ b/src/com/fsck/k9/activity/MessageList.java @@ -1170,12 +1170,9 @@ public class MessageList * Never {@code null}. */ private void onDelete(final List holders) { - // FIXME: removeMessage does it own check on the 'selected' field, we're duplicating the logic here... final List messagesToRemove = new ArrayList(); for (MessageInfoHolder holder : holders) { - if (holder.selected) { - messagesToRemove.add(holder.message); - } + messagesToRemove.add(holder.message); } mHandler.removeMessages(holders); mController.deleteMessages(messagesToRemove.toArray(EMPTY_MESSAGE_ARRAY), null);