diff --git a/app/javascript/mastodon/components/status.js b/app/javascript/mastodon/components/status.js index 07e15a1c6..4bfc1647d 100644 --- a/app/javascript/mastodon/components/status.js +++ b/app/javascript/mastodon/components/status.js @@ -308,7 +308,7 @@ class Status extends ImmutablePureComponent { let statusAvatar, prepend, rebloggedByText; let sons; - const { intl, hidden, featured, otherAccounts, unread, showThread, deep, sonsIds } = this.props; + const { intl, hidden, featured, otherAccounts, unread, showThread, deep, tree_type, sonsIds } = this.props; let { status, account, ...other } = this.props; @@ -482,7 +482,7 @@ class Status extends ImmutablePureComponent { return ( -
+
{prepend}
@@ -510,7 +510,9 @@ class Status extends ImmutablePureComponent { )} - + {deep == null || tree_type != 'ance' && ( + + )}
{sons} diff --git a/app/javascript/mastodon/features/status/index.js b/app/javascript/mastodon/features/status/index.js index 0aa8349e8..96de23141 100644 --- a/app/javascript/mastodon/features/status/index.js +++ b/app/javascript/mastodon/features/status/index.js @@ -414,6 +414,7 @@ class Status extends ImmutablePureComponent { onMoveDown={this.handleMoveDown} contextType='thread' deep={deep==null? null : (type == 'ance'? idx : deep+1)} + tree_type={deep==null? null : type} /> )); } @@ -492,7 +493,7 @@ class Status extends ImmutablePureComponent { /> -
+
{ancestors}