$this->version = '2.8.0 (compatible; Friendica ' . App::VERSION . ')';
$this->urls = null; // Not supported
$this->stats = new Stats($config, $database);
- $this->thumbnail = $baseUrl . '/images/friendica-banner.jpg';
+ $this->thumbnail = $baseUrl . $config->get('config', 'api_mastodon_banner');
$this->languages = [$config->get('system', 'language')];
$this->max_toot_chars = (int)$config->get('config', 'api_import_size', $config->get('config', 'max_import_size'));
$this->registrations = ($register_policy != Register::CLOSED);
// php_path (String)
// Location of PHP command line processor.
'php_path' => 'php',
+
+ // api_mastodon_banner (String)
+ // Banner for Mastodon API
+ 'api_mastodon_banner' => '/images/friendica-banner.jpg',
],
'system' => [
// adjust_poll_frequency (Boolean)