mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-07 23:58:40 +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 {
|
private fun wantsDateSeparator(event: TimelineEvent, nextEvent: TimelineEvent?): Boolean {
|
||||||
return when {
|
return when {
|
||||||
RoomLocalEcho.isLocalEchoId(partialState.roomSummary?.roomId.orEmpty()) -> false
|
|
||||||
hasReachedInvite && hasUTD -> true
|
hasReachedInvite && hasUTD -> true
|
||||||
else -> {
|
else -> {
|
||||||
val date = event.root.localDateTime()
|
val date = event.root.localDateTime()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user