diff options
| author | shpuld <shp@cock.li> | 2019-01-20 15:52:35 +0200 |
|---|---|---|
| committer | shpuld <shp@cock.li> | 2019-01-20 15:52:35 +0200 |
| commit | 8761e039d04ff26944c87339ef55d2951a42696c (patch) | |
| tree | 69a1d49f724d99fb49c72bd7d2f6bb1a73e8f066 /src/components/status/status.js | |
| parent | 485a061287149fe0ff5c4a188d21d775ff271f6d (diff) | |
| parent | 7651290e2be72ed35d7582757251eb151fdce953 (diff) | |
Merge dev fix conflicts
Diffstat (limited to 'src/components/status/status.js')
| -rw-r--r-- | src/components/status/status.js | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js index 8058e1bb..6e82307a 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -118,19 +118,7 @@ const Status = { return lengthScore > 20 }, isReply () { - if (this.status.in_reply_to_status_id) { - return true - } - // For private replies where we can't see the OP, in_reply_to_status_id will be null. - // So instead, check that the post starts with a @mention. - if (this.status.visibility === 'private') { - var textBody = this.status.text - if (this.status.summary !== null) { - textBody = textBody.substring(this.status.summary.length, textBody.length) - } - return textBody.startsWith('@') - } - return false + return !!this.status.in_reply_to_status_id }, hideReply () { if (this.$store.state.config.replyVisibility === 'all') { |
