sforkowany z mirror/friendica
Bugfix: Pleroma was detected as Mastodon
rodzic
926314a24c
commit
5ed24954f0
|
@ -1158,8 +1158,9 @@ function poco_check_server($server_url, $network = "", $force = false) {
|
|||
$network = NETWORK_OSTATUS;
|
||||
}
|
||||
}
|
||||
if (strstr($orig_version, 'Pleroma')) {
|
||||
if (strstr($orig_version.$version, 'Pleroma')) {
|
||||
$platform = 'Pleroma';
|
||||
$version = trim(str_replace('Pleroma', '', $version));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue