Update src/Model/GServer.php

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

View file

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