Merge pull request #5927 from vector-im/feature/aris/threads_improve_rendering_issue_5151
Feature/aris/threads improve rendering issue 5151
This commit is contained in:
commit
3c9b5d2ec0
1
changelog.d/5151.misc
Normal file
1
changelog.d/5151.misc
Normal file
@ -0,0 +1 @@
|
||||
Improve threads rendering in the main timeline
|
@ -95,6 +95,7 @@ class TimelineMessageLayoutFactory @Inject constructor(private val session: Sess
|
||||
nextDisplayableEvent.root.getClearType() !in listOf(EventType.MESSAGE, EventType.STICKER, EventType.ENCRYPTED) ||
|
||||
isNextMessageReceivedMoreThanOneHourAgo ||
|
||||
isTileTypeMessage(nextDisplayableEvent) ||
|
||||
nextDisplayableEvent.isRootThread() ||
|
||||
event.isRootThread() ||
|
||||
nextDisplayableEvent.isEdition()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user