mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-24 19:56:00 +00:00
Migrate quotes to have a separate quoteTargetContentType.
This commit is contained in:
@@ -388,6 +388,7 @@ class AttachmentTableTest {
|
||||
stickerLocator = null,
|
||||
gif = false,
|
||||
quote = false,
|
||||
quoteTargetContentType = null,
|
||||
uuid = UUID.randomUUID(),
|
||||
fileName = null
|
||||
)
|
||||
|
||||
@@ -670,7 +670,9 @@ class AttachmentTableTest_deduping {
|
||||
caption = null,
|
||||
stickerLocator = null,
|
||||
blurHash = null,
|
||||
uuid = UUID.randomUUID()
|
||||
uuid = UUID.randomUUID(),
|
||||
quote = false,
|
||||
quoteTargetContentType = null
|
||||
)
|
||||
),
|
||||
quoteAttachment = emptyList()
|
||||
|
||||
@@ -19,6 +19,7 @@ object UriAttachmentBuilder {
|
||||
borderless: Boolean = false,
|
||||
videoGif: Boolean = false,
|
||||
quote: Boolean = false,
|
||||
quoteTargetContentType: String? = null,
|
||||
caption: String? = null,
|
||||
stickerLocator: StickerLocator? = null,
|
||||
blurHash: BlurHash? = null,
|
||||
@@ -39,6 +40,7 @@ object UriAttachmentBuilder {
|
||||
borderless = borderless,
|
||||
videoGif = videoGif,
|
||||
quote = quote,
|
||||
quoteTargetContentType = quoteTargetContentType,
|
||||
caption = caption,
|
||||
stickerLocator = stickerLocator,
|
||||
blurHash = blurHash,
|
||||
|
||||
@@ -705,7 +705,8 @@ class SyncMessageProcessorTest_synchronizeDeleteForMe {
|
||||
archiveCdn = this.archiveCdn,
|
||||
thumbnailRestoreState = this.thumbnailRestoreState,
|
||||
archiveTransferState = this.archiveTransferState,
|
||||
uuid = uuid
|
||||
uuid = uuid,
|
||||
quoteTargetContentType = this.quoteTargetContentType
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user