Mark all calls read when opening calls tab
This commit is contained in:
parent
b7c17212c7
commit
344ebf494d
8 changed files with 80 additions and 17 deletions
|
@ -1148,7 +1148,7 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
|
|||
sticker: undefined,
|
||||
...additionalProperties,
|
||||
});
|
||||
this.getConversation()?.debouncedUpdateLastMessage?.();
|
||||
this.getConversation()?.debouncedUpdateLastMessage();
|
||||
|
||||
if (shouldPersist) {
|
||||
await window.Signal.Data.saveMessage(this.attributes, {
|
||||
|
@ -1485,7 +1485,7 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
|
|||
saveErrors?: (errors: Array<Error>) => void
|
||||
): Promise<void> {
|
||||
const updateLeftPane =
|
||||
this.getConversation()?.debouncedUpdateLastMessage || noop;
|
||||
this.getConversation()?.debouncedUpdateLastMessage ?? noop;
|
||||
|
||||
updateLeftPane();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue