fix timestamp for messages sent with a PMP
This commit is contained in:
parent
0a6c097c50
commit
4dc692634e
2 changed files with 2 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ class MessageDisplayname extends ConsumerWidget {
|
|||
.watch(AuthorController.provider(message))
|
||||
.betterWhen(
|
||||
data: (membership) => Text(
|
||||
"${membership.displayName} ${message.metadata?["pmp"] == null ? "" : "(via ${message.authorId})"}",
|
||||
"${membership.displayName}${message.metadata?["pmp"] == null ? "" : " (via ${message.authorId})"}",
|
||||
style: style,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ class MessageWrapper extends StatelessWidget {
|
|||
children: [
|
||||
if (groupStatus?.isFirst != false)
|
||||
Row(
|
||||
spacing: 4,
|
||||
children: [
|
||||
Flexible(
|
||||
child: MessageDisplayname(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue