diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-01-06 16:48:21 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-01-06 16:48:21 +0100 |
commit | fb6b84b5c985d1f6741072d76602bfaff93f3f0d (patch) | |
tree | 1ce613f00e8c6ab55e5ec6d26f9436ce8138af2a /lib/private/Share20 | |
parent | e5d3efb99e2d77b30339496285e15d5d00fc9e60 (diff) | |
download | nextcloud-server-fb6b84b5c985d1f6741072d76602bfaff93f3f0d.tar.gz nextcloud-server-fb6b84b5c985d1f6741072d76602bfaff93f3f0d.zip |
Accept shares when you open mail
Fixes #18380
When you open a direct share to yourself. We should autoaccept the
share.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Share20')
-rw-r--r-- | lib/private/Share20/Manager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php index 4c94cf26a4d..8ec025ebc26 100644 --- a/lib/private/Share20/Manager.php +++ b/lib/private/Share20/Manager.php @@ -800,7 +800,7 @@ class Manager implements IManager { $this->sendMailNotification( $l, $share->getNode()->getName(), - $this->urlGenerator->linkToRouteAbsolute('files.viewcontroller.showFile', ['fileid' => $share->getNode()->getId()]), + $this->urlGenerator->linkToRouteAbsolute('files_sharing.Accept.accept', ['shareId' => $share->getFullId()]), $share->getSharedBy(), $emailAddress, $share->getExpirationDate() |