Fix calls tab mark read error when adhoc call is the latest

This commit is contained in:
ayumi-signal
2025-08-07 11:01:50 -07:00
committed by GitHub
parent ec8d6a7359
commit 4e2e9106d2

View File

@@ -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();