aboutsummaryrefslogtreecommitdiff
path: root/src/components/status/status.js
diff options
context:
space:
mode:
authorAlexander Tumin <iamtakingiteasy@eientei.org>2022-03-01 00:35:00 +0300
committerAlexander Tumin <iamtakingiteasy@eientei.org>2022-03-01 01:00:38 +0300
commit2b7f12613ec04e3ce8be62b169457ad62aa83a65 (patch)
tree50d6b6779c9e4aa14ada4dd6b3fa7df38a878736 /src/components/status/status.js
parentfe0ed7e8f0941195547b924f99f6c0be707bf964 (diff)
Add bot indication to user icon on statuses
Diffstat (limited to 'src/components/status/status.js')
-rw-r--r--src/components/status/status.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js
index ba85114a..282e85fb 100644
--- a/src/components/status/status.js
+++ b/src/components/status/status.js
@@ -169,6 +169,9 @@ const Status = {
botStatus () {
return this.status.user.bot
},
+ botIndicator () {
+ return this.botStatus && !this.hideBotIndication
+ },
mentionsLine () {
if (!this.headTailLinks) return []
const writtenSet = new Set(this.headTailLinks.writtenMentions.map(_ => _.url))
@@ -301,6 +304,9 @@ const Status = {
muteBotStatuses () {
return this.mergedConfig.muteBotStatuses
},
+ hideBotIndication () {
+ return this.mergedConfig.hideBotIndication
+ },
currentUser () {
return this.$store.state.users.currentUser
},