From 1fc165de02d79294c8a218f5fa82bcd477484ca1 Mon Sep 17 00:00:00 2001 From: Claire Date: Fri, 18 Oct 2024 12:51:05 +0200 Subject: [PATCH] Remove ability to get embed code for remote posts (#32578) --- app/javascript/mastodon/components/status_action_bar.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/mastodon/components/status_action_bar.jsx b/app/javascript/mastodon/components/status_action_bar.jsx index 75531abf56..94cd7e3e07 100644 --- a/app/javascript/mastodon/components/status_action_bar.jsx +++ b/app/javascript/mastodon/components/status_action_bar.jsx @@ -264,7 +264,7 @@ class StatusActionBar extends ImmutablePureComponent { menu.push({ text: intl.formatMessage(messages.share), action: this.handleShareClick }); } - if (publicStatus && (signedIn || !isRemote)) { + if (publicStatus && !isRemote) { menu.push({ text: intl.formatMessage(messages.embed), action: this.handleEmbed }); }