fix bot indicator appearing on retweeter avatar

This commit is contained in:
Henry Jameson 2022-03-21 20:39:56 +02:00
parent 6f1d953642
commit 4e2fd7baf9
2 changed files with 7 additions and 1 deletions

View file

@ -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))