Update src/Model/GServer.php

This commit is contained in:
Artur Weigandt 2024-11-19 08:14:00 +01:00 committed by GitHub
parent 92666e4444
commit 17e5ba715e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2419,7 +2419,7 @@ class GServer
if (in_array($attr['content'], array_keys($grouped_platforms['ap_platforms']))) { if (in_array($attr['content'], array_keys($grouped_platforms['ap_platforms']))) {
$serverdata['network'] = Protocol::ACTIVITYPUB; $serverdata['network'] = Protocol::ACTIVITYPUB;
} elseif (in_array($attr['content'], array_values($platforms['zap_platforms']))) { } elseif (in_array($attr['content'], array_values($grouped_platforms['zap_platforms']))) {
$serverdata['network'] = Protocol::ZOT; $serverdata['network'] = Protocol::ZOT;
} }
} }