Skip to content

Commit

Permalink
Fix sender not showing properly if previous message was in a thread (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Airyzz authored Jun 28, 2024
1 parent 09dd254 commit 1485393
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,13 @@ class _TimelineEventViewMessageState extends State<TimelineEventViewMessage>
return true;
}

if (widget.isThreadTimeline == false &&
threadComponent?.isEventInResponseToThread(
widget.timeline.events[index + 1], widget.timeline) ==
true) {
return true;
}

if (widget.timeline.events[index].originServerTs
.difference(widget.timeline.events[index + 1].originServerTs)
.inMinutes >
Expand Down

0 comments on commit 1485393

Please sign in to comment.