1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-06 03:36:03 +02:00
This commit is contained in:
syuilo
2018-06-13 05:11:55 +09:00
parent 4d914f5c0a
commit 1472f0b141
5 changed files with 36 additions and 4 deletions

View File

@@ -0,0 +1,9 @@
export default (mention: {
uri: string;
username: string;
host: string;
}) => ({
type: 'Mention',
href: mention.uri,
name: `@${mention.username}@${mention.host}`
});