Fix mentions when username != preferred_username (#885)

* initial commit

* fixes mention name

---------

Co-authored-by: Christian Beutel <>
This commit is contained in:
Flomp
2026-03-20 19:35:34 +01:00
committed by GitHub
parent 04818b9329
commit ec76b69dba
2 changed files with 13 additions and 13 deletions

View File

@@ -151,7 +151,7 @@
return (_: Event, item: SearchItem) => {
props.command({
id: item.value.iri,
label: `${item.value.username}${item.value.isLocal ? "" : "@" + item.value.domain}`,
label: `${item.value.preferred_username}${item.value.isLocal ? "" : "@" + item.value.domain}`,
});
};
}