1
0
mirror of https://github.com/TwidereProject/Twidere-Android synced 2025-02-06 19:43:29 +01:00

ignoring read notification

This commit is contained in:
Mariotaku Lee 2016-02-04 03:42:59 +08:00
parent 6120164d08
commit 2102f38f95

View File

@ -1328,7 +1328,7 @@ public final class TwidereDataProvider extends ContentProvider implements Consta
final long accountId = pref.getAccountId();
final String where = Expression.and(
Expression.equals(Activities.ACCOUNT_ID, pref.getAccountId()),
Expression.greaterEquals(Activities.TIMESTAMP, position)
Expression.greaterThan(Activities.TIMESTAMP, position)
).getSQL();
Cursor c = query(Activities.AboutMe.CONTENT_URI, Activities.COLUMNS, where, null,
new OrderBy(Activities.TIMESTAMP, false).getSQL());