use DivineOmega\PasswordExposed;
use ErrorException;
use Exception;
+use Friendica\App;
use Friendica\Content\Pager;
use Friendica\Core\Hook;
use Friendica\Core\L10n;
}
}
+ $system['name'] = App::PLATFORM . " '" . App::CODENAME . "' " . App::VERSION . '-' . DB_UPDATE_VERSION;
$system['sprvkey'] = $system['uprvkey'] = $system['prvkey'];
$system['spubkey'] = $system['upubkey'] = $system['pubkey'];
$system['nickname'] = $system['nick'];
}
/**
- * Return the service array containing information the used software and it's url
+ * Return the service array containing information the used software and its url
*
* @return array with service data
*/
public static function getService(): array
{
return [
- 'type' => 'Service',
+ 'id' => (string)DI::baseUrl() . '/friendica',
+ 'type' => 'Application',
'name' => App::PLATFORM . " '" . App::CODENAME . "' " . App::VERSION . '-' . DB_UPDATE_VERSION,
- 'url' => (string)DI::baseUrl()
+ 'url' => (string)DI::baseUrl(),
];
}