fix: Sender name prefix in DM rooms
This commit is contained in:
parent
88c9753222
commit
3ac75a71b9
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue