Skip to content

Commit

Permalink
Merge pull request #5927 from vector-im/feature/aris/threads_improve_…
Browse files Browse the repository at this point in the history
…rendering_issue_5151

Feature/aris/threads improve rendering issue 5151
  • Loading branch information
ariskotsomitopoulos authored May 6, 2022
2 parents 9f9c6fb + 5c645c1 commit 3c9b5d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/5151.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Improve threads rendering in the main timeline
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 3c9b5d2

Please sign in to comment.