Remove ability to get embed code for remote posts (#32578)

This commit is contained in:
Claire 2024-10-18 12:51:05 +02:00 committed by GitHub
parent 2391937e11
commit 1fc165de02
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 });
}