mirror of
https://github.com/friendica/friendica
synced 2025-05-04 07:04:10 +02:00
Replace remaining references to default banner image by api.mastodon_banner configuration value
- Ensure leading slash is present at every place the configuration value is used
This commit is contained in:
parent
5d7985dcff
commit
dad3404ac5
5 changed files with 61 additions and 6 deletions
|
@ -22,6 +22,7 @@
|
|||
namespace Friendica\Model;
|
||||
|
||||
use Friendica\Contact\Avatar;
|
||||
use Friendica\Contact\Header;
|
||||
use Friendica\Contact\Introduction\Exception\IntroductionNotFoundException;
|
||||
use Friendica\Contact\LocalRelationship\Entity\LocalRelationship;
|
||||
use Friendica\Content\Conversation as ConversationContent;
|
||||
|
@ -1899,7 +1900,7 @@ class Contact
|
|||
switch ($platform) {
|
||||
case 'friendica':
|
||||
case 'friendika':
|
||||
$header = DI::baseUrl() . '/images/friendica-banner.jpg';
|
||||
$header = DI::baseUrl() . (new Header(DI::config()))->getMastodonBannerPath();
|
||||
break;
|
||||
case 'diaspora':
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue