$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());
$domain,
$title,
$version,
+ $source_url,
$description,
$usage,
$thumbnail,
string $domain,
string $title,
string $version,
+ string $source_url,
string $description,
Usage $usage,
Thumbnail $thumbnail,
$this->domain = $domain;
$this->title = $title;
$this->version = $version;
- $this->source_url = null; //not supported yet
+ $this->source_url = $source_url;
$this->description = $description;
$this->usage = $usage;
$this->thumbnail = $thumbnail;