Add support for import/export of shared contact messages.

This commit is contained in:
Clark
2024-06-25 12:46:34 -04:00
committed by Cody Henthorne
parent 84515482a6
commit 058c523329
5 changed files with 243 additions and 20 deletions

View File

@@ -3339,7 +3339,7 @@ open class MessageTable(context: Context?, databaseHelper: SignalDatabase) : Dat
}
}
private fun getSerializedSharedContacts(insertedAttachmentIds: Map<Attachment, AttachmentId>, contacts: List<Contact>): String? {
fun getSerializedSharedContacts(insertedAttachmentIds: Map<Attachment, AttachmentId>, contacts: List<Contact>): String? {
if (contacts.isEmpty()) {
return null
}