Use actor type to determine whether a user is a bot

This commit is contained in:
tusooa 2023-12-27 22:55:58 -05:00
parent cc4aaccf38
commit a709127a3c
No known key found for this signature in database
GPG Key ID: 42AEC43D48433C51

View File

@ -233,7 +233,7 @@ const Status = {
return muteWordHits(this.status, this.muteWords) return muteWordHits(this.status, this.muteWords)
}, },
botStatus () { botStatus () {
return this.status.user.bot return this.status.user.actor_type === 'Service'
}, },
showActorTypeIndicator () { showActorTypeIndicator () {
return !this.hideBotIndication return !this.hideBotIndication