From 7fd30681841a1e6b020a37ebe8a09ab309b27de8 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 29 Aug 2017 16:02:30 +0200 Subject: [PATCH] Add shareWith to email template metadata Signed-off-by: Morris Jobke --- apps/sharebymail/lib/ShareByMailProvider.php | 1 + lib/private/Share20/Manager.php | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/sharebymail/lib/ShareByMailProvider.php b/apps/sharebymail/lib/ShareByMailProvider.php index 187a36f183..1992ed5eb1 100644 --- a/apps/sharebymail/lib/ShareByMailProvider.php +++ b/apps/sharebymail/lib/ShareByMailProvider.php @@ -389,6 +389,7 @@ class ShareByMailProvider implements IShareProvider { 'link' => $link, 'initiator' => $initiatorDisplayName, 'expiration' => $expiration, + 'shareWith' => $shareWith, ]); $emailTemplate->addHeader(); diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php index dda5f005e9..95c4d92831 100644 --- a/lib/private/Share20/Manager.php +++ b/lib/private/Share20/Manager.php @@ -733,6 +733,7 @@ class Manager implements IManager { 'link' => $link, 'initiator' => $initiatorDisplayName, 'expiration' => $expiration, + 'shareWith' => $shareWith, ]); $emailTemplate->addHeader();