fix bot indicator appearing on retweeter avatar
This commit is contained in:
parent
6f1d953642
commit
4e2fd7baf9
|
@ -225,12 +225,18 @@ const Status = {
|
||||||
muteWordHits () {
|
muteWordHits () {
|
||||||
return muteWordHits(this.status, this.muteWords)
|
return muteWordHits(this.status, this.muteWords)
|
||||||
},
|
},
|
||||||
|
rtBotStatus () {
|
||||||
|
return this.statusoid.user.bot
|
||||||
|
},
|
||||||
botStatus () {
|
botStatus () {
|
||||||
return this.status.user.bot
|
return this.status.user.bot
|
||||||
},
|
},
|
||||||
botIndicator () {
|
botIndicator () {
|
||||||
return this.botStatus && !this.hideBotIndication
|
return this.botStatus && !this.hideBotIndication
|
||||||
},
|
},
|
||||||
|
rtBotIndicator () {
|
||||||
|
return this.rtBotStatus && !this.hideBotIndication
|
||||||
|
},
|
||||||
mentionsLine () {
|
mentionsLine () {
|
||||||
if (!this.headTailLinks) return []
|
if (!this.headTailLinks) return []
|
||||||
const writtenSet = new Set(this.headTailLinks.writtenMentions.map(_ => _.url))
|
const writtenSet = new Set(this.headTailLinks.writtenMentions.map(_ => _.url))
|
||||||
|
|
|
@ -77,7 +77,7 @@
|
||||||
<UserAvatar
|
<UserAvatar
|
||||||
v-if="retweet"
|
v-if="retweet"
|
||||||
class="left-side repeater-avatar"
|
class="left-side repeater-avatar"
|
||||||
:bot="botIndicator"
|
:bot="rtBotIndicator"
|
||||||
:better-shadow="betterShadow"
|
:better-shadow="betterShadow"
|
||||||
:user="statusoid.user"
|
:user="statusoid.user"
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in New Issue