This commit is contained in:
Valere 2019-05-21 14:27:57 +02:00
parent d49007538b
commit b8c3bdbbf6
2 changed files with 5 additions and 2 deletions

View File

@ -325,7 +325,10 @@ class MessageItemFactory(private val colorProvider: ColorProvider,
} }
} }


private fun annotateWithEdited(linkifiedBody: CharSequence, callback: TimelineEventController.Callback?, informationData: MessageInformationData, editSummary: EditAggregatedSummary?): SpannableStringBuilder { private fun annotateWithEdited(linkifiedBody: CharSequence,
callback: TimelineEventController.Callback?,
informationData: MessageInformationData,
editSummary: EditAggregatedSummary?): SpannableStringBuilder {
val spannable = SpannableStringBuilder() val spannable = SpannableStringBuilder()
spannable.append(linkifiedBody) spannable.append(linkifiedBody)
val editedSuffix = "(edited)" val editedSuffix = "(edited)"