Update edit message timestamp.

This commit is contained in:
lisa-signal
2025-06-10 12:14:42 -04:00
committed by GitHub
parent 178c468436
commit 844d511b72
3 changed files with 2 additions and 5 deletions

View File

@@ -701,7 +701,7 @@ open class V2ConversationItemTextOnlyViewHolder<Model : MappingModel<Model>>(
binding.footerDate.text = conversationMessage.computedProperties.formattedDate.value
} else {
var dateLabel = conversationMessage.computedProperties.formattedDate.value
if (conversationContext.displayMode != ConversationItemDisplayMode.Detailed && record is MmsMessageRecord && record.isEditMessage()) {
if (conversationContext.displayMode != ConversationItemDisplayMode.Detailed && record is MmsMessageRecord && record.isEditMessage) {
dateLabel = if (conversationMessage.computedProperties.formattedDate.isNow) {
getContext().getString(R.string.ConversationItem_edited_now_timestamp_footer)
} else if (conversationMessage.computedProperties.formattedDate.isRelative) {