Skip to content
Snippets Groups Projects
Commit 4e2fd7ba authored by HJ's avatar HJ :fire:
Browse files

fix bot indicator appearing on retweeter avatar

parent 6f1d9536
No related branches found
No related tags found
2 merge requests!1711Update stable - 2.5.0 release,!1477Bot indicator fixes
......@@ -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))
......
......@@ -77,7 +77,7 @@
<UserAvatar
v-if="retweet"
class="left-side repeater-avatar"
:bot="botIndicator"
:bot="rtBotIndicator"
:better-shadow="betterShadow"
:user="statusoid.user"
/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment