diff options
| author | Henry Jameson <me@hjkos.com> | 2022-03-21 20:39:56 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2022-03-21 20:39:56 +0200 |
| commit | 4e2fd7baf9a2c1d1e02ada6100b8c9aa91ffb81a (patch) | |
| tree | 097b004ab69772c42a5ba3ce6af357ca8f5277c2 /src/components/status/status.js | |
| parent | 6f1d953642473412c094e5b723eb479e2b19a542 (diff) | |
fix bot indicator appearing on retweeter avatar
Diffstat (limited to 'src/components/status/status.js')
| -rw-r--r-- | src/components/status/status.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js index 4c0ef3e0..e54be241 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -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)) |
