summaryrefslogtreecommitdiffstats
path: root/lib/private/Mail
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-05-08 14:51:55 +0200
committerLukas Reschke <lukas@statuscode.ch>2017-05-08 14:51:55 +0200
commit099234cf12c4d1ec2d1942ed506f463b28ef738c (patch)
tree371d6475df8e76f1c1ce62d983f2059cad4b7eae /lib/private/Mail
parent6acae94a021a6e961a00fe2c33e5468461e65893 (diff)
downloadnextcloud-server-099234cf12c4d1ec2d1942ed506f463b28ef738c.tar.gz
nextcloud-server-099234cf12c4d1ec2d1942ed506f463b28ef738c.zip
Add function to request SVG or regular fallback image
Fixes https://github.com/nextcloud/server/issues/4647 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'lib/private/Mail')
-rw-r--r--lib/private/Mail/EMailTemplate.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Mail/EMailTemplate.php b/lib/private/Mail/EMailTemplate.php
index 3442e8e9430..0ae79345e4c 100644
--- a/lib/private/Mail/EMailTemplate.php
+++ b/lib/private/Mail/EMailTemplate.php
@@ -357,7 +357,7 @@ EOF;
}
$this->headerAdded = true;
- $logoUrl = $this->urlGenerator->getAbsoluteURL($this->themingDefaults->getLogo());
+ $logoUrl = $this->urlGenerator->getAbsoluteURL($this->themingDefaults->getLogo(false));
$this->htmlBody .= vsprintf($this->header, [$this->themingDefaults->getColorPrimary(), $logoUrl, $this->themingDefaults->getName()]);
}