mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 04:58:45 +00:00
Save outgoing message bodies as trimmed.
This commit is contained in:
@@ -3074,7 +3074,7 @@ open class MessageTable(context: Context?, databaseHelper: SignalDatabase) : Dat
|
||||
val bodyRanges = message.bodyRanges.adjustBodyRanges(updatedBodyAndMentions.bodyAdjustments)
|
||||
val (messageId, insertedAttachments) = insertMediaMessage(
|
||||
threadId = threadId,
|
||||
body = updatedBodyAndMentions.bodyAsString,
|
||||
body = updatedBodyAndMentions.bodyAsString?.trim(),
|
||||
attachments = message.attachments,
|
||||
quoteAttachments = quoteAttachments,
|
||||
sharedContacts = message.sharedContacts,
|
||||
|
||||
Reference in New Issue
Block a user