aboutsummaryrefslogtreecommitdiff
path: root/src/components/mention_link
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2021-08-15 02:41:53 +0300
committerHenry Jameson <me@hjkos.com>2021-08-15 02:41:53 +0300
commit530ac4442b498c90c73533d2a03ae5b7d6875900 (patch)
tree7cc984514f6d0a9a929b607f5089311dac8ee80c /src/components/mention_link
parent4465de5241a6ed148d00d20de9e348f4991a4400 (diff)
removed useless code, review change, fixed bug with tall statuses
Diffstat (limited to 'src/components/mention_link')
-rw-r--r--src/components/mention_link/mention_link.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/mention_link/mention_link.js b/src/components/mention_link/mention_link.js
index 4d27fe6d..65c62baa 100644
--- a/src/components/mention_link/mention_link.js
+++ b/src/components/mention_link/mention_link.js
@@ -45,7 +45,7 @@ const MentionLink = {
},
isYou () {
// FIXME why user !== currentUser???
- return this.user && this.user.screen_name === this.currentUser.screen_name
+ return this.user && this.user.id === this.currentUser.id
},
userName () {
return this.user && this.userNameFullUi.split('@')[0]