mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Improve syncing of in-memory expirationStartTimestamp
This commit is contained in:
@@ -373,6 +373,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