fix: Sender name prefix in DM rooms
This commit is contained in:
parent
66a66cefa3
commit
f5c9057509
|
@ -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…
Reference in New Issue