Update timers whenever we mark messages read
This commit is contained in:
parent
cd35a29638
commit
7761d83055
16 changed files with 70 additions and 150 deletions
|
@ -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);
|
||||
|
|
|
@ -111,7 +111,7 @@ describe('sendLog', () => {
|
|||
timestamp,
|
||||
type: 'outgoing',
|
||||
},
|
||||
{ forceSave: true, Message: window.Whisper.Message }
|
||||
{ forceSave: true }
|
||||
);
|
||||
|
||||
const bytes = Buffer.from(getRandomBytes(128));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue