diff --git a/app/soapbox/components/status.js b/app/soapbox/components/status.js index 151a3e926..999a44129 100644 --- a/app/soapbox/components/status.js +++ b/app/soapbox/components/status.js @@ -193,6 +193,12 @@ class Status extends ImmutablePureComponent { this.props.onToggleHidden(this._properStatus()); }; + handleReplyToClick = ({ target }) => { + if (target.className === 'status__meta') { + this.handleClick(); + } + } + renderLoadingMediaGallery() { return
; } @@ -290,6 +296,29 @@ class Status extends ImmutablePureComponent { this.node = c; } + getInReplyToMessage = () => { + const { status } = this.props; + const inReplyToId = status.get('in_reply_to_id'); + const inReplyToAcct = status.getIn(['pleroma', 'in_reply_to_account_acct']); + + if (inReplyToAcct) { + return ( +