mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 08:39:22 +01:00
Add the ability to do an export of a single chat.
This commit is contained in:
committed by
Michelle Tang
parent
2f41d15a41
commit
2b163a9acd
@@ -19,7 +19,9 @@ import org.thoughtcrime.securesms.database.model.databaseprotos.GiftBadge
|
||||
import org.thoughtcrime.securesms.linkpreview.LinkPreview
|
||||
import org.thoughtcrime.securesms.mms.SlideDeck
|
||||
import org.thoughtcrime.securesms.payments.Payment
|
||||
import org.thoughtcrime.securesms.polls.PollRecord
|
||||
import org.thoughtcrime.securesms.recipients.Recipient
|
||||
import org.thoughtcrime.securesms.recipients.RecipientId
|
||||
import org.thoughtcrime.securesms.stickers.StickerLocator
|
||||
import org.thoughtcrime.securesms.util.MediaUtil
|
||||
|
||||
@@ -160,7 +162,9 @@ object FakeMessageRecords {
|
||||
parentStoryId: ParentStoryId? = null,
|
||||
giftBadge: GiftBadge? = null,
|
||||
payment: Payment? = null,
|
||||
call: CallTable.Call? = null
|
||||
call: CallTable.Call? = null,
|
||||
poll: PollRecord? = null,
|
||||
deletedBy: RecipientId? = null
|
||||
): MmsMessageRecord {
|
||||
return MmsMessageRecord(
|
||||
id,
|
||||
@@ -198,14 +202,14 @@ object FakeMessageRecords {
|
||||
giftBadge,
|
||||
payment,
|
||||
call,
|
||||
null,
|
||||
poll,
|
||||
-1,
|
||||
null,
|
||||
null,
|
||||
0,
|
||||
false,
|
||||
0,
|
||||
null,
|
||||
deletedBy,
|
||||
null
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user