Fix unknown contact started a group call
This commit is contained in:
parent
81c8ba0b62
commit
60a4da57d0
1 changed files with 2 additions and 0 deletions
|
@ -56,6 +56,7 @@ import {
|
||||||
} from '../messages/helpers';
|
} from '../messages/helpers';
|
||||||
import { MessageRequestResponseEvent } from '../types/MessageRequestResponseEvent';
|
import { MessageRequestResponseEvent } from '../types/MessageRequestResponseEvent';
|
||||||
import { missingCaseError } from './missingCaseError';
|
import { missingCaseError } from './missingCaseError';
|
||||||
|
import { getUserConversationId } from '../state/selectors/user';
|
||||||
|
|
||||||
function getNameForNumber(e164: string): string {
|
function getNameForNumber(e164: string): string {
|
||||||
const conversation = window.ConversationController.get(e164);
|
const conversation = window.ConversationController.get(e164);
|
||||||
|
@ -433,6 +434,7 @@ export function getNotificationDataForMessage(
|
||||||
if (isCallHistory(attributes)) {
|
if (isCallHistory(attributes)) {
|
||||||
const state = window.reduxStore.getState();
|
const state = window.reduxStore.getState();
|
||||||
const callingNotification = getPropsForCallHistory(attributes, {
|
const callingNotification = getPropsForCallHistory(attributes, {
|
||||||
|
ourConversationId: getUserConversationId(state),
|
||||||
callSelector: getCallSelector(state),
|
callSelector: getCallSelector(state),
|
||||||
activeCall: getActiveCall(state),
|
activeCall: getActiveCall(state),
|
||||||
callHistorySelector: getCallHistorySelector(state),
|
callHistorySelector: getCallHistorySelector(state),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue