From 4e2e9106d211879a325830b1a7e732574af4adc3 Mon Sep 17 00:00:00 2001 From: ayumi-signal <143036029+ayumi-signal@users.noreply.github.com> Date: Thu, 7 Aug 2025 11:01:50 -0700 Subject: [PATCH] Fix calls tab mark read error when adhoc call is the latest --- ts/util/callDisposition.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();