Fix: Newer Friendica servers had been detected as ActivityPub

This commit is contained in:
Michael 2019-12-21 13:51:25 +00:00
parent f617e2a287
commit 1af52dd050
2 changed files with 3 additions and 3 deletions

View file

@ -549,7 +549,7 @@ class GServer
$protocols[$protocol] = true;
}
if (!empty($protocols['friendica'])) {
if (!empty($protocols['dfrn'])) {
$server['network'] = Protocol::DFRN;
} elseif (!empty($protocols['activitypub'])) {
$server['network'] = Protocol::ACTIVITYPUB;