Fix legacy call-history messages without a callId

Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
Jamie Kyle 2023-08-16 17:11:09 -07:00 committed by Jamie Kyle
parent 6f0401b847
commit ef0a3de636
17 changed files with 831 additions and 426 deletions

View file

@ -1953,7 +1953,6 @@ function saveMessageSync(
sourceServiceId,
sourceDevice,
storyId,
callId,
type,
readStatus,
expireTimer,
@ -2011,7 +2010,6 @@ function saveMessageSync(
sourceServiceId: sourceServiceId || null,
sourceDevice: sourceDevice || null,
storyId: storyId || null,
callId: callId || null,
type: type || null,
readStatus: readStatus ?? null,
seenStatus: seenStatus ?? SeenStatus.NotApplicable,
@ -2044,7 +2042,6 @@ function saveMessageSync(
sourceServiceId = $sourceServiceId,
sourceDevice = $sourceDevice,
storyId = $storyId,
callId = $callId,
type = $type,
readStatus = $readStatus,
seenStatus = $seenStatus
@ -2090,7 +2087,6 @@ function saveMessageSync(
sourceServiceId,
sourceDevice,
storyId,
callId,
type,
readStatus,
seenStatus
@ -2117,7 +2113,6 @@ function saveMessageSync(
$sourceServiceId,
$sourceDevice,
$storyId,
$callId,
$type,
$readStatus,
$seenStatus