mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-27 23:09:35 +01:00
Fix room sender prefix
This commit is contained in:
parent
b8c16b43d7
commit
125c262420
@ -187,8 +187,11 @@ class ChatListItem extends StatelessWidget {
|
||||
),
|
||||
)
|
||||
: Text(
|
||||
room.lastEvent.getLocalizedBody(L10n.of(context),
|
||||
withSenderNamePrefix: true, hideReply: true),
|
||||
room.lastEvent.getLocalizedBody(
|
||||
L10n.of(context),
|
||||
withSenderNamePrefix: !room.isDirectChat,
|
||||
hideReply: true,
|
||||
),
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: TextStyle(
|
||||
|
Loading…
Reference in New Issue
Block a user