diff --git a/ts/util/callDisposition.ts b/ts/util/callDisposition.ts index df1f77c125..d846190fef 100644 --- a/ts/util/callDisposition.ts +++ b/ts/util/callDisposition.ts @@ -1457,7 +1457,7 @@ export async function markAllCallHistoryReadAndSync( : Proto.SyncMessage.CallLogEvent.Type.MARKED_AS_READ, timestamp: Long.fromNumber(latestCall.timestamp), peerId: getBytesForPeerId(latestCall), - callId: Long.fromString(latestCall.callId), + callId: getCallIdForProto(latestCall), }); const syncMessage = MessageSender.createSyncMessage();