diff options
| author | Henry Jameson <me@hjkos.com> | 2024-02-29 18:49:23 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2024-02-29 18:49:23 +0200 |
| commit | 54e3a99bc762a1286b0c1a782297d40587b7f14f (patch) | |
| tree | d4f08471c797c673977b330f358c004094a87c32 /src/components/status | |
| parent | 73f6ecb21e9a705caac0d1ce6b38b3aa75e4345b (diff) | |
| parent | 90427921336879bd7b5df742a7af41d85dceeee4 (diff) | |
Merge remote-tracking branch 'origin/develop' into themes3
Diffstat (limited to 'src/components/status')
| -rw-r--r-- | src/components/status/status.js | 12 | ||||
| -rw-r--r-- | src/components/status/status.vue | 6 |
2 files changed, 6 insertions, 12 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 [] diff --git a/src/components/status/status.vue b/src/components/status/status.vue index 2a46c5b9..4d9e1c3c 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -79,7 +79,7 @@ <UserAvatar v-if="retweet" class="left-side repeater-avatar" - :bot="rtBotIndicator" + :show-actor-type-indicator="showActorTypeIndicator" :better-shadow="betterShadow" :user="statusoid.user" /> @@ -133,7 +133,7 @@ > <UserAvatar class="post-avatar" - :bot="botIndicator" + :show-actor-type-indicator="showActorTypeIndicator" :compact="compact" :better-shadow="betterShadow" :user="status.user" @@ -559,7 +559,7 @@ <UserAvatar class="post-avatar" :compact="compact" - :bot="botIndicator" + :show-actor-type-indicator="showActorTypeIndicator" /> </div> <div class="right-side"> |
