Fix not hiding quoted unlisted status in non public timeline
This commit is contained in:
parent
d93ab2a4d0
commit
0a51a32c35
1 changed files with 1 additions and 1 deletions
|
@ -618,7 +618,7 @@ class Status extends ImmutablePureComponent {
|
|||
</div>
|
||||
</div>
|
||||
);
|
||||
} else if (quote_status.get('visibility') === 'unlisted' && contextType !== 'home') {
|
||||
} else if (quote_status.get('visibility') === 'unlisted' && !!contextType && ['public', 'community', 'hashtag'].includes(contextType.split(':', 2)[0])) {
|
||||
quote = (
|
||||
<div className={classNames('quote-status', `status-${quote_status.get('visibility')}`, { muted: this.props.muted })} data-id={quote_status.get('id')}>
|
||||
<div className={classNames('status__content unlisted-quote', { 'status__content--with-action': this.context.router })}>
|
||||
|
|
Loading…
Reference in a new issue