Move missed call chat badging to calls tab

This commit is contained in:
ayumi-signal 2024-03-04 14:26:49 -08:00 committed by GitHub
parent e5333546db
commit 8047e9cccd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 45 additions and 28 deletions

View file

@ -45,6 +45,7 @@ import type { CallHistoryDetails } from '../types/CallDisposition';
export function getInitialState({
badges,
callsHistory,
callsHistoryUnreadCount,
stories,
storyDistributionLists,
mainWindowStats,
@ -52,6 +53,7 @@ export function getInitialState({
}: {
badges: BadgesStateType;
callsHistory: ReadonlyArray<CallHistoryDetails>;
callsHistoryUnreadCount: number;
stories: Array<StoryDataType>;
storyDistributionLists: Array<StoryDistributionListDataType>;
mainWindowStats: MainWindowStatsType;
@ -91,6 +93,7 @@ export function getInitialState({
callHistory: {
...callHistory(),
callHistoryByCallId: makeLookup(callsHistory, 'callId'),
unreadCount: callsHistoryUnreadCount,
},
calling: calling(),
composer: composer(),