feat(preview): Only show no-CW link context menu option for link preview on local posts
Some checks failed
Check i18n / check-i18n (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
Check formatting / lint (push) Has been cancelled
JavaScript Linting / lint (push) Has been cancelled
JavaScript Testing / test (push) Has been cancelled
Ruby Testing / build (production) (push) Has been cancelled
Ruby Testing / build (test) (push) Has been cancelled
Ruby Testing / test (.ruby-version) (push) Has been cancelled
Ruby Testing / test (3.1) (push) Has been cancelled
Ruby Testing / End to End testing (push) Has been cancelled
Ruby Testing / test (3.2) (push) Has been cancelled
Ruby Testing / Libvips tests (push) Has been cancelled
Ruby Testing / Elastic Search integration testing (push) Has been cancelled

This commit is contained in:
Jeremy Kescher 2024-11-05 22:25:28 +01:00
parent 2d5f770295
commit f7952496e0
No known key found for this signature in database
GPG key ID: 80A419A7A613DFA4
2 changed files with 2 additions and 2 deletions

View file

@ -243,7 +243,7 @@ class StatusActionBar extends ImmutablePureComponent {
menu.push({ text: intl.formatMessage(messages.copy), action: this.handleCopy }); menu.push({ text: intl.formatMessage(messages.copy), action: this.handleCopy });
if (publicStatus) { if (publicStatus && !isRemote) {
menu.push({ text: intl.formatMessage(messages.copyUnrestricted), action: this.handleCopyUnrestricted }); menu.push({ text: intl.formatMessage(messages.copyUnrestricted), action: this.handleCopyUnrestricted });
} }

View file

@ -181,7 +181,7 @@ class ActionBar extends PureComponent {
menu.push({ text: intl.formatMessage(messages.copy), action: this.handleCopy }); menu.push({ text: intl.formatMessage(messages.copy), action: this.handleCopy });
if (publicStatus) { if (publicStatus && !isRemote) {
menu.push({ text: intl.formatMessage(messages.copyUnrestricted), action: this.handleCopyUnrestricted }); menu.push({ text: intl.formatMessage(messages.copyUnrestricted), action: this.handleCopyUnrestricted });
} }