diff options
| author | Henry Jameson <me@hjkos.com> | 2021-06-08 12:58:28 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2021-06-08 12:58:28 +0300 |
| commit | 9ea370033af450c0d5e4650a7c10f0e1ffec911c (patch) | |
| tree | a23f0aa79bf50f4e6d7dca8aac2116caa221b97b /src/components/status/status.js | |
| parent | 3abd357694c29c84d213d7d2a7a954ab2a591da0 (diff) | |
configurable mentions placement
Diffstat (limited to 'src/components/status/status.js')
| -rw-r--r-- | src/components/status/status.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js index 54b54a90..7d2ec514 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -105,6 +105,9 @@ const Status = { muteWords () { return this.mergedConfig.muteWords }, + mentionsOldPlace () { + return this.mergedConfig.mentionsOldPlace + }, showReasonMutedThread () { return ( this.status.thread_muted || @@ -137,7 +140,7 @@ const Status = { return this.generateUserProfileLink(this.status.user.id, this.status.user.screen_name) }, replyProfileLink () { - return this.$store.getters.findUser(this.status.in_reply_to_screen_name).statusnet_profile_url + return this.$store.getters.findUser(this.status.in_reply_to_user_id).statusnet_profile_url }, retweet () { return !!this.statusoid.retweeted_status }, retweeterUser () { return this.statusoid.user }, @@ -163,7 +166,8 @@ const Status = { }, mentions () { return this.statusoid.attentions.filter(attn => { - return attn.screen_name !== this.replyToName + return attn.screen_name !== this.replyToName && + attn.screen_name !== this.statusoid.user.screen_name }) }, hasMentions () { |
