Show Mastodon relay subscribers as instances in admin panel

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-12-17 17:10:37 +01:00
parent 89fb46de67
commit 4a8fb41fd1
2 changed files with 1 additions and 5 deletions

View File

@@ -39,6 +39,6 @@ export default class RelayMixin extends Vue {
}
isInstance(actor: IActor): boolean {
return actor.type === ActorType.APPLICATION && actor.preferredUsername === 'relay';
return actor.type === ActorType.APPLICATION && (actor.preferredUsername === 'relay' || actor.preferredUsername === actor.domain);
}
}