mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-27 13:40:47 +00:00
Optimizations to the performance improvement changes
This commit is contained in:
@@ -100,9 +100,7 @@
|
||||
await message.setToExpire(false, { skipSave: true });
|
||||
}
|
||||
|
||||
await window.Signal.Data.saveMessage(message.attributes, {
|
||||
Message: Whisper.Message,
|
||||
});
|
||||
window.Signal.Util.updateMessageBatcher.add(message.attributes);
|
||||
|
||||
// notify frontend listeners
|
||||
const conversation = ConversationController.get(
|
||||
|
||||
@@ -101,9 +101,7 @@
|
||||
await message.setToExpire(false, { skipSave: true });
|
||||
}
|
||||
|
||||
await window.Signal.Data.saveMessage(message.attributes, {
|
||||
Message: Whisper.Message,
|
||||
});
|
||||
window.Signal.Util.updateMessageBatcher.add(message.attributes);
|
||||
|
||||
// notify frontend listeners
|
||||
const conversation = ConversationController.get(
|
||||
|
||||
@@ -94,9 +94,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
await window.Signal.Data.saveMessage(message.attributes, {
|
||||
Message: Whisper.Message,
|
||||
});
|
||||
window.Signal.Util.updateMessageBatcher.add(message.attributes);
|
||||
|
||||
this.remove(receipt);
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user