fix: Sendername prefix

This commit is contained in:
Christian Pauly 2020-11-22 16:41:33 +01:00
parent 8aaff6fbbe
commit a6b60ad4fb
1 changed files with 2 additions and 1 deletions

View File

@ -225,7 +225,8 @@ class ChatListItem extends StatelessWidget {
: Text( : Text(
room.lastEvent?.getLocalizedBody( room.lastEvent?.getLocalizedBody(
MatrixLocals(L10n.of(context)), MatrixLocals(L10n.of(context)),
withSenderNamePrefix: !ownMessage, withSenderNamePrefix:
!ownMessage && !room.isDirectChat,
hideReply: true, hideReply: true,
) ?? ) ??
'', '',