Do not reveal spoilers in quotes.
This commit is contained in:
parent
806e81743c
commit
763e14f25f
1 changed files with 1 additions and 1 deletions
|
@ -5282,7 +5282,7 @@ open class MessageTable(context: Context?, databaseHelper: SignalDatabase) : Dat
|
|||
val updated: UpdatedBodyAndMentions = MentionUtil.updateBodyAndMentionsWithDisplayNames(context, quoteText, quoteMentions)
|
||||
val styledText = SpannableString(updated.body)
|
||||
|
||||
MessageStyler.style(id = quoteId, messageRanges = bodyRanges.adjustBodyRanges(updated.bodyAdjustments), span = styledText)
|
||||
MessageStyler.style(id = "${MessageStyler.QUOTE_ID}$quoteId", messageRanges = bodyRanges.adjustBodyRanges(updated.bodyAdjustments), span = styledText)
|
||||
|
||||
quoteText = styledText
|
||||
quoteMentions = updated.mentions
|
||||
|
|
Loading…
Add table
Reference in a new issue