aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-03-21 20:39:56 +0200
committerHenry Jameson <me@hjkos.com>2022-03-21 20:39:56 +0200
commit4e2fd7baf9a2c1d1e02ada6100b8c9aa91ffb81a (patch)
tree097b004ab69772c42a5ba3ce6af357ca8f5277c2
parent6f1d953642473412c094e5b723eb479e2b19a542 (diff)
fix bot indicator appearing on retweeter avatar
-rw-r--r--src/components/status/status.js6
-rw-r--r--src/components/status/status.vue2
2 files changed, 7 insertions, 1 deletions
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 @@
<UserAvatar
v-if="retweet"
class="left-side repeater-avatar"
- :bot="botIndicator"
+ :bot="rtBotIndicator"
:better-shadow="betterShadow"
:user="statusoid.user"
/>