diff --git a/src/com/fsck/k9/provider/EmailProvider.java b/src/com/fsck/k9/provider/EmailProvider.java index deb195293..e0f5e1c96 100644 --- a/src/com/fsck/k9/provider/EmailProvider.java +++ b/src/com/fsck/k9/provider/EmailProvider.java @@ -400,7 +400,7 @@ public class EmailProvider extends ContentProvider { query.append( "WHERE " + - "(h.deleted = 0 AND m.deleted = 0 AND " + + "(m.deleted = 0 AND " + "(m.empty IS NULL OR m.empty != 1) AND " + "h.thread_root IS NULL) ");