From 5ebcdb4f317a3705db606d74035b613a7f41a2b8 Mon Sep 17 00:00:00 2001 From: Sam Smucny Date: Mon, 26 Dec 2022 22:14:42 -0500 Subject: enhance(client): Add link to copy RSS feed in user profile menu (#9419) * add link to RSS feed * update changelog and locale file Co-authored-by: syuilo --- packages/client/src/scripts/get-user-menu.ts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'packages/client/src/scripts') diff --git a/packages/client/src/scripts/get-user-menu.ts b/packages/client/src/scripts/get-user-menu.ts index 23f0e11f5b..2faacffdfc 100644 --- a/packages/client/src/scripts/get-user-menu.ts +++ b/packages/client/src/scripts/get-user-menu.ts @@ -158,6 +158,12 @@ export function getUserMenu(user, router: Router = mainRouter) { action: () => { copyToClipboard(`@${user.username}@${user.host || host}`); }, + }, { + icon: 'ti ti-rss', + text: i18n.ts.copyRSS, + action: () => { + copyToClipboard(`${user.host || host}/@${user.username}.atom`); + } }, { icon: 'ti ti-info-circle', text: i18n.ts.info, -- cgit v1.2.3-freya