From 3783157d287b61c28f03b0c27818e075324ec2a5 Mon Sep 17 00:00:00 2001 From: wongk Date: Wed, 26 Sep 2012 09:55:44 -0400 Subject: [PATCH] Clean up one reference to Folder.getName. --- src/com/fsck/k9/activity/MessageList.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/fsck/k9/activity/MessageList.java b/src/com/fsck/k9/activity/MessageList.java index 624d8b7d5..d44613d01 100644 --- a/src/com/fsck/k9/activity/MessageList.java +++ b/src/com/fsck/k9/activity/MessageList.java @@ -2027,7 +2027,7 @@ public class MessageList extends K9ListActivity implements OnItemClickListener, uid = message.getUid(); if (uid != null && (holder.uid == uid || uid.equals(holder.uid))) { folder = message.getFolder(); - if (holder.folder.name.equals(folder.getName()) && + if (holder.folder.name.equals(folder.getRemoteName()) && holder.account.equals(folder.getAccount().getUuid())) { return holder; }