diff --git a/ts/util/callingMessageToProto.ts b/ts/util/callingMessageToProto.ts index 6b6b15e1b5..8f19e4f3af 100644 --- a/ts/util/callingMessageToProto.ts +++ b/ts/util/callingMessageToProto.ts @@ -51,10 +51,10 @@ export function callingMessageToProto( } : undefined, iceUpdate: iceCandidates - ? iceCandidates.map(candidate => { + ? iceCandidates.map((candidate): Proto.CallMessage.IIceUpdate => { return { ...candidate, - callId: Long.fromValue(candidate.callId), + id: Long.fromValue(candidate.callId), opaque: bufferToProto(candidate.opaque), }; })