mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 18:00:02 +01:00
Fetch data in ConversationDataSource in parallel.
This commit is contained in:
committed by
Nicholas Tinsley
parent
e46759f436
commit
95c6f569d6
@@ -1047,7 +1047,7 @@ object DataMessageProcessor {
|
||||
val attachments: MutableList<Attachment> = mutableListOf()
|
||||
val mentions: MutableList<Mention> = mutableListOf()
|
||||
|
||||
quotedMessage = quotedMessage.withAttachments(context, SignalDatabase.attachments.getAttachmentsForMessage(quotedMessage.id))
|
||||
quotedMessage = quotedMessage.withAttachments(SignalDatabase.attachments.getAttachmentsForMessage(quotedMessage.id))
|
||||
|
||||
mentions.addAll(SignalDatabase.mentions.getMentionsForMessage(quotedMessage.id))
|
||||
|
||||
|
||||
@@ -87,7 +87,7 @@ object EditMessageProcessor {
|
||||
|
||||
DataMessageProcessor.notifyTypingStoppedFromIncomingMessage(context, senderRecipient, threadRecipient.id, metadata.sourceDeviceId)
|
||||
|
||||
targetMessage = targetMessage.withAttachments(context, SignalDatabase.attachments.getAttachmentsForMessage(targetMessage.id))
|
||||
targetMessage = targetMessage.withAttachments(SignalDatabase.attachments.getAttachmentsForMessage(targetMessage.id))
|
||||
|
||||
val insertResult: InsertResult? = if (isMediaMessage || targetMessage.quote != null || targetMessage.slideDeck.slides.isNotEmpty()) {
|
||||
handleEditMediaMessage(senderRecipient.id, groupId, envelope, metadata, message, targetMessage)
|
||||
|
||||
Reference in New Issue
Block a user