From 4e2fd7baf9a2c1d1e02ada6100b8c9aa91ffb81a Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 21 Mar 2022 20:39:56 +0200 Subject: [PATCH] fix bot indicator appearing on retweeter avatar --- src/components/status/status.js | 6 ++++++ src/components/status/status.vue | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/status/status.js b/src/components/status/status.js index 4c0ef3e0..e54be241 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -225,12 +225,18 @@ const Status = { muteWordHits () { return muteWordHits(this.status, this.muteWords) }, + rtBotStatus () { + return this.statusoid.user.bot + }, botStatus () { return this.status.user.bot }, botIndicator () { return this.botStatus && !this.hideBotIndication }, + rtBotIndicator () { + return this.rtBotStatus && !this.hideBotIndication + }, mentionsLine () { if (!this.headTailLinks) return [] const writtenSet = new Set(this.headTailLinks.writtenMentions.map(_ => _.url)) diff --git a/src/components/status/status.vue b/src/components/status/status.vue index 1679834e..3de4c471 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -77,7 +77,7 @@