summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-04-15 21:02:04 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-04-15 21:02:04 +0900
commit7abfcd06daf048742d68fc67ac82ac50161ddd66 (patch)
tree9c6cd07979cf41d9b8fba45236e3f7443cce6af0 /src/client
parentMerge branch 'develop' (diff)
parent11.1.0 (diff)
downloadmisskey-7abfcd06daf048742d68fc67ac82ac50161ddd66.tar.gz
misskey-7abfcd06daf048742d68fc67ac82ac50161ddd66.tar.bz2
misskey-7abfcd06daf048742d68fc67ac82ac50161ddd66.zip
Merge branch 'develop'
Diffstat (limited to 'src/client')
-rw-r--r--src/client/app/common/views/components/mention.vue4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/app/common/views/components/mention.vue b/src/client/app/common/views/components/mention.vue
index e1f67282b6..f212fd3ca5 100644
--- a/src/client/app/common/views/components/mention.vue
+++ b/src/client/app/common/views/components/mention.vue
@@ -36,7 +36,9 @@ export default Vue.extend({
return this.host === localHost ? `@${this.username}` : `@${this.username}@${toUnicode(this.host)}`;
},
isMe(): boolean {
- return this.$store.getters.isSignedIn && this.canonical.toLowerCase() === `@${this.$store.state.i.username}@${toUnicode(localHost)}`.toLowerCase();
+ return this.$store.getters.isSignedIn && (
+ `@${this.username}@${toUnicode(this.host)}` === `@${this.$store.state.i.username}@${toUnicode(localHost)}`.toLowerCase()
+ );
}
},
methods: {