mirror of
https://github.com/friendica/friendica
synced 2024-12-23 03:20:15 +00:00
Merge pull request #11965 from annando/akkoma
Akkoma is added to the federation statistics
This commit is contained in:
commit
b0d0d98a14
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue