Merge remote-tracking branch 'origin/develop' into fetch-outbox

This commit is contained in:
Kagami Sascha Rosylight 2023-07-09 22:36:14 +02:00
commit f34f0dfcb6

View file

@ -142,7 +142,7 @@ export function getUserMenu(user: misskey.entities.UserDetailed, router: Router
icon: 'ti ti-share',
text: i18n.ts.copyProfileUrl,
action: () => {
const canonical = user.host === null ? `@${user.username}` : `@${user.username}@${toUnicode(user.host)}`
const canonical = user.host === null ? `@${user.username}` : `@${user.username}@${toUnicode(user.host)}`;
copyToClipboard(`${url}/${canonical}`);
},
}, {