Skip to content
Snippets Groups Projects
Unverified Commit aeebbe90 authored by ThibG's avatar ThibG Committed by GitHub
Browse files

Fix detailed view of direct messages displaying a 0 boost count (#13244)

The boost count is already removed from private toots,
do the same with direct messages.
parent 51a1fbaa
Branches
Tags
No related merge requests found
......@@ -166,7 +166,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
reblogIcon = 'lock';
}
if (status.get('visibility') === 'private') {
if (['private', 'direct'].includes(status.get('visibility'))) {
reblogLink = <Icon id={reblogIcon} />;
} else if (this.context.router) {
reblogLink = (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment