diff options
| author | Henry Jameson <me@hjkos.com> | 2022-02-03 22:34:57 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2022-02-03 22:34:57 +0200 |
| commit | bfb3a4364be3f71f7c46056aeb8972f04a072703 (patch) | |
| tree | 69244eecbcc79694b4fd6d54433ddf68e8119d09 /src/components/mention_link/mention_link.js | |
| parent | 6d3229b1a10a6547d5c0ebcf47a65f03a0f9c690 (diff) | |
options to disable (You)s and highlighting of yourself
Diffstat (limited to 'src/components/mention_link/mention_link.js')
| -rw-r--r-- | src/components/mention_link/mention_link.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/components/mention_link/mention_link.js b/src/components/mention_link/mention_link.js index 5209907d..55eea195 100644 --- a/src/components/mention_link/mention_link.js +++ b/src/components/mention_link/mention_link.js @@ -87,7 +87,7 @@ const MentionLink = { classnames () { return [ { - '-you': this.isYou, + '-you': this.isYou && this.shouldBoldenYou, '-highlighted': this.highlight }, this.highlightType @@ -115,6 +115,12 @@ const MentionLink = { shouldShowAvatar () { return this.mergedConfig.mentionLinkShowAvatar }, + shouldShowYous () { + return this.mergedConfig.mentionLinkShowYous + }, + shouldBoldenYou () { + return this.mergedConfig.mentionLinkBoldenYou + }, shouldFadeDomain () { return this.mergedConfig.mentionLinkFadeDomain }, |
