Update timers whenever we mark messages read

This commit is contained in:
Scott Nonnenberg 2021-07-19 13:45:18 -07:00 committed by GitHub
parent cd35a29638
commit 7761d83055
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 70 additions and 150 deletions

View file

@ -68,7 +68,6 @@ describe('Conversations', () => {
// Saving to db and updating the convo's last message
await window.Signal.Data.saveMessage(message.attributes, {
forceSave: true,
Message: window.Whisper.Message,
});
message = window.MessageController.register(message.id, message);
await window.Signal.Data.saveConversation(conversation.attributes);

View file

@ -111,7 +111,7 @@ describe('sendLog', () => {
timestamp,
type: 'outgoing',
},
{ forceSave: true, Message: window.Whisper.Message }
{ forceSave: true }
);
const bytes = Buffer.from(getRandomBytes(128));