mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-23 19:26:17 +00:00
Fix incorrect column in query.
This commit is contained in:
committed by
Cody Henthorne
parent
70b0a120f0
commit
a6e7f9a4c1
@@ -618,7 +618,7 @@ public class MmsDatabase extends MessageDatabase {
|
||||
public void updateViewedStories(@NonNull Set<SyncMessageId> syncMessageIds) {
|
||||
final String timestamps = Util.join(syncMessageIds.stream().map(SyncMessageId::getTimetamp).collect(java.util.stream.Collectors.toList()), ",");
|
||||
final String[] projection = SqlUtil.buildArgs(RECIPIENT_ID);
|
||||
final String where = IS_STORY_CLAUSE + " AND " + NORMALIZED_DATE_SENT + " IN (" + timestamps + ") AND NOT (" + getOutgoingTypeClause() + ") AND " + VIEWED_RECEIPT_COUNT + " > 0";
|
||||
final String where = IS_STORY_CLAUSE + " AND " + DATE_SENT + " IN (" + timestamps + ") AND NOT (" + getOutgoingTypeClause() + ") AND " + VIEWED_RECEIPT_COUNT + " > 0";
|
||||
|
||||
try {
|
||||
getWritableDatabase().beginTransaction();
|
||||
|
||||
Reference in New Issue
Block a user