Use new favicon location for desktop notifications
authorAlexander Ebert <ebert@woltlab.com>
Mon, 12 Jun 2017 12:56:49 +0000 (14:56 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 12 Jun 2017 12:56:55 +0000 (14:56 +0200)
See #2257

com.woltlab.wcf/templates/headIncludeJavaScript.tpl

index 360db269fd8699e2c09bed92416877ecf426f533..a46d896a67ed0131f524b4069c9ccf2e6ad92a7c 100644 (file)
@@ -206,7 +206,7 @@ requirejs.config({
                                require(['WoltLabSuite/Core/Notification/Handler'], function(NotificationHandler) {
                                        NotificationHandler.setup({
                                                enableNotifications: {if ENABLE_DESKTOP_NOTIFICATIONS}true{else}false{/if},
-                                               icon: '{@$__wcf->getPath()}images/apple-touch-icon.png',
+                                               icon: '{$__wcf->getStyleHandler()->getStyle()->getFaviconAppleTouchIcon()}',
                                                sessionKeepAlive: {@$__sessionKeepAlive}
                                        });
                                });