Sort stories when they were read at

This commit is contained in:
Josh Perez 2022-09-21 19:54:48 -04:00 committed by GitHub
parent b04fbb6d8d
commit af5a496994
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 36 additions and 7 deletions

View file

@ -17,6 +17,7 @@ function markReadOrViewed(
const nextMessageAttributes: MessageAttributesType = {
...messageAttrs,
readAt: timestamp,
readStatus: newReadStatus,
seenStatus: SeenStatus.Seen,
};