summaryrefslogtreecommitdiffstats
path: root/lib/private/Share20/ProviderFactory.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-04-18 22:23:07 +0200
committerLukas Reschke <lukas@statuscode.ch>2017-04-18 22:23:07 +0200
commit203ef885096e402de772be70c4f39615767bdf65 (patch)
tree2808f6ea70af22e21b4cafbaa081b5896e05228c /lib/private/Share20/ProviderFactory.php
parentb072d2c49d6f61c2b55abf12e04bdf2166dbd4f4 (diff)
downloadnextcloud-server-203ef885096e402de772be70c4f39615767bdf65.tar.gz
nextcloud-server-203ef885096e402de772be70c4f39615767bdf65.zip
Add "Reply-To" on ShareByMailProvider mails
Fixes https://github.com/nextcloud/server/issues/4209 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'lib/private/Share20/ProviderFactory.php')
-rw-r--r--lib/private/Share20/ProviderFactory.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/Share20/ProviderFactory.php b/lib/private/Share20/ProviderFactory.php
index ba6699ae7ad..beb3a0965d6 100644
--- a/lib/private/Share20/ProviderFactory.php
+++ b/lib/private/Share20/ProviderFactory.php
@@ -30,6 +30,7 @@ use OCA\FederatedFileSharing\Notifications;
use OCA\FederatedFileSharing\TokenHandler;
use OCA\ShareByMail\Settings\SettingsManager;
use OCA\ShareByMail\ShareByMailProvider;
+use OCP\Defaults;
use OCP\Share\IProviderFactory;
use OC\Share20\Exception\ProviderException;
use OCP\IServerContainer;
@@ -158,7 +159,8 @@ class ProviderFactory implements IProviderFactory {
$this->serverContainer->getMailer(),
$this->serverContainer->getURLGenerator(),
$this->serverContainer->getActivityManager(),
- $settingsManager
+ $settingsManager,
+ $this->serverContainer->query(Defaults::class)
);
}