fix: Sender name prefix in DM rooms

This commit is contained in:
Krille Fear 2021-11-14 13:25:56 +01:00
parent 66a66cefa3
commit f5c9057509

View File

@ -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,