Commit b6121758 authored by Wilko Manger's avatar Wilko Manger

Fix condition when sender must show

parent 26135fc2
......@@ -365,9 +365,10 @@ class Sender extends StatelessWidget {
static bool necessary(BuildContext context) {
final bubble = MessageBubble.of(context);
return (bubble.isStartOfGroup ||
(bubble.isReply != null && !bubble.message.isMine)) &&
!bubble.message.room.isDirect;
return !bubble.message.isMine &&
!bubble.isReply &&
!bubble.message.room.isDirect &&
bubble.isStartOfGroup;
}
@override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment