mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 13:12:25 -05:00
Show thread as unread if at least one of the messages of the thread is
unread. Fixes issue 4759.
This commit is contained in:
parent
bfdee8161c
commit
6e23a5e8e6
@ -397,6 +397,8 @@ public class EmailProvider extends ContentProvider {
|
||||
|
||||
if (MessageColumns.ID.equals(columnName)) {
|
||||
query.append("u." + MessageColumns.ID + " AS " + MessageColumns.ID);
|
||||
} else if (MessageColumns.READ.equals(columnName)) {
|
||||
query.append("MIN(read) AS " + MessageColumns.READ);
|
||||
} else if (MessageColumns.DATE.equals(columnName)) {
|
||||
query.append("MAX(date) AS " + MessageColumns.DATE);
|
||||
} else if (SpecialColumns.THREAD_COUNT.equals(columnName)) {
|
||||
|
Loading…
Reference in New Issue
Block a user