mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-25 19:47:31 +00:00
Don't include archived threads in recent conversation query.
This commit is contained in:

committed by
Alan Evans

parent
740e934e5d
commit
3474b26f61
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user