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
|
@ -59,7 +59,6 @@ import {
|
|||
callDetailsSchema,
|
||||
} from '../types/CallDisposition';
|
||||
import type { ConversationType } from '../state/ducks/conversations';
|
||||
import { drop } from './drop';
|
||||
|
||||
// utils
|
||||
// -----
|
||||
|
@ -895,7 +894,7 @@ export async function clearCallHistoryDataAndSync(): Promise<void> {
|
|||
messageId,
|
||||
message.get('conversationId')
|
||||
);
|
||||
drop(conversation.updateLastMessage());
|
||||
conversation.debouncedUpdateLastMessage();
|
||||
window.MessageController.unregister(messageId);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue