feat: Nicer mentions
This commit is contained in:
parent
e048625804
commit
53bb9f3edd
2 changed files with 4 additions and 3 deletions
|
|
@ -86,7 +86,7 @@ class ChatView extends StatelessWidget {
|
|||
outerContext: context,
|
||||
onMention: () => controller
|
||||
.sendController.text +=
|
||||
'${controller.room.directChatMatrixID} ',
|
||||
'${controller.room.getUserByMXIDSync(controller.room.directChatMatrixID).mention} ',
|
||||
),
|
||||
)
|
||||
: () => VRouter.of(context)
|
||||
|
|
@ -376,7 +376,7 @@ class ChatView extends StatelessWidget {
|
|||
onMention: () => controller
|
||||
.sendController
|
||||
.text +=
|
||||
'${event.senderId} ',
|
||||
'${event.sender.mention} ',
|
||||
),
|
||||
),
|
||||
unfold: controller.unfold,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue