Don't include archived threads in recent conversation query.

This commit is contained in:
Greyson Parrelli
2021-01-04 20:42:14 -05:00
committed by Alan Evans
parent 740e934e5d
commit 3474b26f61

View File

@@ -562,6 +562,8 @@ public class ThreadDatabase extends Database {
query += " AND " + RecipientDatabase.TABLE_NAME + "." + RecipientDatabase.GROUP_TYPE + " != " + RecipientDatabase.GroupType.SIGNAL_V1.getId();
}
query += " AND " + ARCHIVED + " = 0";
return db.rawQuery(createQuery(query, 0, limit, true), null);
}