diff --git a/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/VisibleMessageView.kt b/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/VisibleMessageView.kt index 0d54f345c6..058054a257 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/VisibleMessageView.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/VisibleMessageView.kt @@ -164,10 +164,10 @@ class VisibleMessageView : LinearLayout { private fun isStartOfMessageCluster(current: MessageRecord, previous: MessageRecord?, isGroupThread: Boolean): Boolean { return if (isGroupThread) { - previous == null || previous.isUpdate || !DateUtils.isSameDay(current.timestamp, previous.timestamp) + previous == null || previous.isUpdate || !DateUtils.isSameHour(current.timestamp, previous.timestamp) || current.recipient.address != previous.recipient.address } else { - previous == null || previous.isUpdate || !DateUtils.isSameDay(current.timestamp, previous.timestamp) + previous == null || previous.isUpdate || !DateUtils.isSameHour(current.timestamp, previous.timestamp) || current.isOutgoing != previous.isOutgoing } }