Working mentions

This commit is contained in:
Henry Hiles 2026-01-30 11:25:02 +01:00
commit 6cc5971919
No known key found for this signature in database
2 changed files with 11 additions and 6 deletions

View file

@ -71,7 +71,7 @@ class MentionOverlay extends ConsumerWidget {
member.authorId,
),
onTap: () => addTag(
id: member.authorId,
id: "[@${member.content["displayname"]}](https://matrix.to/#/${member.authorId})",
name: member.authorId
.substring(1)
.split(":")