mirror of
https://github.com/friendica/friendica
synced 2025-04-24 04:30:11 +00:00
Add support for source_url in Mastodon\InstanceV2
This commit is contained in:
parent
8640afc82e
commit
705b2d4c41
2 changed files with 4 additions and 1 deletions
|
@ -85,6 +85,7 @@ class InstanceV2 extends BaseApi
|
|||
$domain = $this->baseUrl->getHost();
|
||||
$title = $this->config->get('config', 'sitename');
|
||||
$version = '2.8.0 (compatible; Friendica ' . App::VERSION . ')';
|
||||
$source_url = 'https://git.friendi.ca/friendica/friendica';
|
||||
$description = $this->config->get('config', 'info');
|
||||
$usage = $this->buildUsageInfo();
|
||||
$thumbnail = new InstanceEntity\Thumbnail($this->baseUrl . $this->contactHeader->getMastodonBannerPath());
|
||||
|
@ -98,6 +99,7 @@ class InstanceV2 extends BaseApi
|
|||
$domain,
|
||||
$title,
|
||||
$version,
|
||||
$source_url,
|
||||
$description,
|
||||
$usage,
|
||||
$thumbnail,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue