Fix read calls being shown as unread in backups.

This commit is contained in:
Michelle Tang
2025-06-05 13:07:44 -04:00
committed by Greyson Parrelli
parent bf0c9ec1c7
commit cc7b26d342
5 changed files with 21 additions and 13 deletions

View File

@@ -204,7 +204,8 @@ class CallEventCacheTest {
isGroupCallActive: Boolean = false,
didLocalUserJoin: Boolean = false,
body: String? = null,
decryptedGroupBytes: ByteArray? = null
decryptedGroupBytes: ByteArray? = null,
read: Boolean = true
): CallEventCache.CacheRecord {
return CallEventCache.CacheRecord(
rowId = callId,
@@ -219,7 +220,8 @@ class CallEventCacheTest {
isGroupCallActive = isGroupCallActive,
didLocalUserJoin = didLocalUserJoin,
body = body,
decryptedGroupBytes = decryptedGroupBytes
decryptedGroupBytes = decryptedGroupBytes,
read = read
)
}
}