mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-02 08:23:00 +01:00
Filter archived stories from the stories landing page query.
This commit is contained in:
committed by
Cody Henthorne
parent
21b1401fc4
commit
eb8ad5218d
@@ -1613,8 +1613,9 @@ open class MessageTable(context: Context?, databaseHelper: SignalDatabase) : Dat
|
||||
FROM $TABLE_NAME
|
||||
JOIN ${ThreadTable.TABLE_NAME} ON $TABLE_NAME.$THREAD_ID = ${ThreadTable.TABLE_NAME}.${ThreadTable.ID}
|
||||
WHERE
|
||||
$STORY_TYPE > 0 AND
|
||||
$DELETED_BY IS NULL
|
||||
$STORY_TYPE > 0 AND
|
||||
$DELETED_BY IS NULL AND
|
||||
$STORY_ARCHIVED = 0
|
||||
${if (isOutgoingOnly) " AND is_outgoing != 0" else ""}
|
||||
ORDER BY
|
||||
is_unread DESC,
|
||||
|
||||
Reference in New Issue
Block a user