don't show crossposter label when it's a bot
This commit is contained in:
parent
e736ad8c08
commit
c33df7e366
|
@ -78,6 +78,7 @@ export class StatusComponent implements OnInit {
|
||||||
|
|
||||||
private checkLabels(status: Status) {
|
private checkLabels(status: Status) {
|
||||||
//since API is limited with federated status...
|
//since API is limited with federated status...
|
||||||
|
if (!status.account.bot) {
|
||||||
if (status.uri.includes('birdsite.link')) {
|
if (status.uri.includes('birdsite.link')) {
|
||||||
this.isCrossPoster = true;
|
this.isCrossPoster = true;
|
||||||
}
|
}
|
||||||
|
@ -87,6 +88,7 @@ export class StatusComponent implements OnInit {
|
||||||
this.isCrossPoster = true;
|
this.isCrossPoster = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (status.in_reply_to_account_id && status.in_reply_to_account_id === status.account.id) {
|
if (status.in_reply_to_account_id && status.in_reply_to_account_id === status.account.id) {
|
||||||
this.isThread = true;
|
this.isThread = true;
|
||||||
|
|
Loading…
Reference in New Issue