1
0
Fork 0

Akkoma is added to the federation statistics

This commit is contained in:
Michael 2022-10-06 04:57:43 +00:00
parent e840166d7d
commit 4c8a58c445

View file

@ -38,6 +38,7 @@ class Federation extends BaseAdmin
// We list the more common systems by name. The rest is counted as "other"
$systems = [
'friendica' => ['name' => 'Friendica', 'color' => '#ffc018'], // orange from the logo
'akkoma' => ['name' => 'Akkoma', 'color' => '#9574cd'], // Color from the page
'birdsitelive' => ['name' => 'BirdsiteLIVE', 'color' => '#1b6ec2'], // Color from the page
'bookwyrm' => ['name' => 'BookWyrm', 'color' => '#00d1b2'], // Color from the page
'castopod' => ['name' => 'Castopod', 'color' => '#00564a'], // Background color from the page
@ -153,7 +154,7 @@ class Federation extends BaseAdmin
if ($platform == 'friendica') {
$versionCounts = self::reformaFriendicaVersions($versionCounts);
} elseif ($platform == 'pleroma') {
} elseif (in_array($platform, ['pleroma', 'akkoma'])) {
$versionCounts = self::reformaPleromaVersions($versionCounts);
} elseif ($platform == 'diaspora') {
$versionCounts = self::reformaDiasporaVersions($versionCounts);