mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-01-12 02:32:54 +01:00
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,
|
hideReply: true,
|
||||||
hideEdit: true,
|
hideEdit: true,
|
||||||
plaintextBody: true,
|
plaintextBody: true,
|
||||||
withSenderNamePrefix: true,
|
withSenderNamePrefix: !room.isDirectChat ||
|
||||||
|
room.directChatMatrixID !=
|
||||||
|
room.lastEvent?.senderId,
|
||||||
) ??
|
) ??
|
||||||
L10n.of(context).emptyChat,
|
L10n.of(context).emptyChat,
|
||||||
softWrap: false,
|
softWrap: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user