From a6b60ad4fbe3cdf19847a4eb46f22c47faf794eb Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sun, 22 Nov 2020 16:41:33 +0100 Subject: [PATCH] fix: Sendername prefix --- lib/components/list_items/chat_list_item.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/components/list_items/chat_list_item.dart b/lib/components/list_items/chat_list_item.dart index 34d15fab..bea1934c 100644 --- a/lib/components/list_items/chat_list_item.dart +++ b/lib/components/list_items/chat_list_item.dart @@ -225,7 +225,8 @@ class ChatListItem extends StatelessWidget { : Text( room.lastEvent?.getLocalizedBody( MatrixLocals(L10n.of(context)), - withSenderNamePrefix: !ownMessage, + withSenderNamePrefix: + !ownMessage && !room.isDirectChat, hideReply: true, ) ?? '',