-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
Hello,
ive tried to use my own logo in whatsapp-messages (and similar applications) which proved to be quite hard. I use my own theme with custom logos which i enabled in the config of my NC 11 instance.
Whatsapp uses the favicon-fb.png to preview the Nextcloud, but my own favicon-fb.png was ignored and replaced by the "normal" favicon.
By inserting
<meta property="og:description" content="*CloudName** - **CloudSlogan" />
<meta property="og:image" content="/themes/******/core/img/favicon-fb.png" />
(actually, i didnt know how to do it properly, so i hardcoded the descriptionname)
under the <title></title> element in following files:
nextcloud/core/templates
--layout.guest.php
--layout.base.php
--layout.user.php
i could get it working on all testet Messengers (Whatsapp, Telegram and richpreview.com)
Steps to reproduce
- Create own Theme
- Send Shared Link over Whatsapp(or similar app)
(Optional: I used https://richpreview.com/ to verify the logo)
Expected behaviour
The default favicon-fb.png shoud be dropped in favor of the new themes one
Actual behaviour
The logo is replaced by the "normal" favicon.
Server configuration
Ubuntu 16.04
Apache 2.4.18
MySQL 5.7.17
PHP 7.0.15
Nextcloud 11.02
No external Storage
No Encryption
No LDAP