Remove share intent button for local-only posts - closes #12

This commit is contained in:
Emma Winston
2019-09-13 22:37:40 +01:00
parent 32b4537e32
commit f10703ae07
2 changed files with 4 additions and 2 deletions

View File

@ -245,7 +245,7 @@ class StatusActionBar extends ImmutablePureComponent {
replyTitle = intl.formatMessage(messages.replyAll);
}
const shareButton = ('share' in navigator) && status.get('visibility') === 'public' && (
const shareButton = ('share' in navigator) && status.get('visibility') === 'public' && federated && (
<IconButton className='status__action-bar-button' title={intl.formatMessage(messages.share)} icon='share-alt' onClick={this.handleShareClick} />
);