fix: Sender name prefix in DM rooms

onboarding
Krille Fear 3 years ago
parent 88c9753222
commit 3ac75a71b9

@ -263,7 +263,9 @@ class ChatListItem extends StatelessWidget {
hideReply: true,
hideEdit: true,
plaintextBody: true,
withSenderNamePrefix: true,
withSenderNamePrefix: !room.isDirectChat ||
room.directChatMatrixID !=
room.lastEvent?.senderId,
) ??
L10n.of(context).emptyChat,
softWrap: false,

Loading…
Cancel
Save