aboutsummaryrefslogtreecommitdiff
path: root/src/components/status/status.js
diff options
context:
space:
mode:
authortusooa <tusooa@kazv.moe>2024-01-24 01:50:45 +0000
committertusooa <tusooa@kazv.moe>2024-01-24 01:50:45 +0000
commit90427921336879bd7b5df742a7af41d85dceeee4 (patch)
tree971fd6fde581674e73377641dfb5bcedb0c954d1 /src/components/status/status.js
parentb0d0a3faf64fa5570ff67c254179350be3ebce47 (diff)
parent16f326216a7e3b560bd33b58f6f6cf44fb81ad54 (diff)
Merge branch 'tusooa/group-actor' into 'develop'
Support group actors See merge request pleroma/pleroma-fe!1882
Diffstat (limited to 'src/components/status/status.js')
-rw-r--r--src/components/status/status.js12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js
index 129929a3..8f22b708 100644
--- a/src/components/status/status.js
+++ b/src/components/status/status.js
@@ -232,17 +232,11 @@ 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
+ return this.status.user.actor_type === 'Service'
},
- rtBotIndicator () {
- return this.rtBotStatus && !this.hideBotIndication
+ showActorTypeIndicator () {
+ return !this.hideBotIndication
},
mentionsLine () {
if (!this.headTailLinks) return []