fix: Sendername prefix

onboarding
Christian Pauly 4 years ago
parent 1e32806723
commit 1d975e0d75

@ -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,
) ?? ) ??
'', '',

Loading…
Cancel
Save