Fix unknown contact started a group call

This commit is contained in:
Jamie Kyle 2024-08-26 07:31:14 -07:00 committed by GitHub
parent 81c8ba0b62
commit 60a4da57d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -56,6 +56,7 @@ import {
} from '../messages/helpers';
import { MessageRequestResponseEvent } from '../types/MessageRequestResponseEvent';
import { missingCaseError } from './missingCaseError';
import { getUserConversationId } from '../state/selectors/user';
function getNameForNumber(e164: string): string {
const conversation = window.ConversationController.get(e164);
@ -433,6 +434,7 @@ export function getNotificationDataForMessage(
if (isCallHistory(attributes)) {
const state = window.reduxStore.getState();
const callingNotification = getPropsForCallHistory(attributes, {
ourConversationId: getUserConversationId(state),
callSelector: getCallSelector(state),
activeCall: getActiveCall(state),
callHistorySelector: getCallHistorySelector(state),