diff --git a/ts/util/getNotificationDataForMessage.ts b/ts/util/getNotificationDataForMessage.ts index 7e197287b479..c179519ab8ea 100644 --- a/ts/util/getNotificationDataForMessage.ts +++ b/ts/util/getNotificationDataForMessage.ts @@ -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),