mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-02-15 07:28:59 +00:00
Improve syncing of in-memory expirationStartTimestamp
Co-authored-by: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
This commit is contained in:
@@ -372,6 +372,7 @@ export type GetUnreadByConversationAndMarkReadResultType = Array<
|
||||
| 'type'
|
||||
| 'readStatus'
|
||||
| 'seenStatus'
|
||||
| 'expirationStartTimestamp'
|
||||
>
|
||||
>;
|
||||
|
||||
|
||||
@@ -107,7 +107,14 @@ export async function markConversationRead(
|
||||
);
|
||||
// we update the in-memory MessageModel with fresh read/seen status
|
||||
if (message) {
|
||||
message.set(pick(messageSyncData, 'readStatus', 'seenStatus'));
|
||||
message.set(
|
||||
pick(
|
||||
messageSyncData,
|
||||
'readStatus',
|
||||
'seenStatus',
|
||||
'expirationStartTimestamp'
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
const {
|
||||
|
||||
Reference in New Issue
Block a user