mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-25 00:58:50 -05:00
Merge pull request #238 from maniac103/thread-unread
Show thread as unread if at least one of the messages of the thread is unread.
This commit is contained in:
commit
c87878fb63
@ -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