mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-07 15:48:38 +01:00
Show date separator in local room timeline
This commit is contained in:
parent
33a19c1ef5
commit
71320e42d0
@ -605,7 +605,6 @@ class TimelineEventController @Inject constructor(
|
||||
|
||||
private fun wantsDateSeparator(event: TimelineEvent, nextEvent: TimelineEvent?): Boolean {
|
||||
return when {
|
||||
RoomLocalEcho.isLocalEchoId(partialState.roomSummary?.roomId.orEmpty()) -> false
|
||||
hasReachedInvite && hasUTD -> true
|
||||
else -> {
|
||||
val date = event.root.localDateTime()
|
||||
|
Loading…
x
Reference in New Issue
Block a user