]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Contact.php
Replace remaining references to default banner image by api.mastodon_banner configura...
[friendica.git] / src / Model / Contact.php
index c6001ebb443fde9a074b8ef388b58a3de44734f2..d91abe9bcdb0b3070fa579b0171be4da3b4ef6e1 100644 (file)
@@ -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':
                                /**