chore: Follow up message bubble design

This commit is contained in:
krille-chan 2024-03-12 19:18:22 +01:00
commit e0e1b65f77
No known key found for this signature in database
3 changed files with 9 additions and 3 deletions

View file

@ -97,7 +97,8 @@ class Message extends StatelessWidget {
EventTypes.Sticker,
EventTypes.Encrypted,
}.contains(previousEvent!.type) &&
previousEvent!.senderId == event.senderId;
previousEvent!.senderId == event.senderId &&
previousEvent!.originServerTs.sameEnvironment(event.originServerTs);
final textColor = ownMessage
? Theme.of(context).colorScheme.onPrimary