Fix calls tab clearing clicking on old calls

This commit is contained in:
Jamie Kyle 2023-11-27 14:07:13 -08:00 committed by GitHub
parent c3248be854
commit 55dca745c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 40 additions and 11 deletions

View file

@ -34,6 +34,7 @@ type CallsTabProps = Readonly<{
options: CallHistoryFilterOptions,
pagination: CallHistoryPagination
) => Promise<Array<CallHistoryGroup>>;
callHistoryEdition: number;
getConversation: (id: string) => ConversationType | void;
hasFailedStorySends: boolean;
hasPendingUpdate: boolean;
@ -59,6 +60,7 @@ export function CallsTab({
otherTabsUnreadStats,
getCallHistoryGroupsCount,
getCallHistoryGroups,
callHistoryEdition,
getConversation,
hasFailedStorySends,
hasPendingUpdate,
@ -221,6 +223,7 @@ export function CallsTab({
hasActiveCall={activeCall != null}
getCallHistoryGroupsCount={getCallHistoryGroupsCount}
getCallHistoryGroups={getCallHistoryGroups}
callHistoryEdition={callHistoryEdition}
getConversation={getConversation}
i18n={i18n}
selectedCallHistoryGroup={selected?.callHistoryGroup ?? null}