diff --git a/lib/Mail.php b/lib/Mail.php index 153a6bc8..870e6510 100644 --- a/lib/Mail.php +++ b/lib/Mail.php @@ -110,7 +110,7 @@ public function sendGuestInviteMail(string $uid, string $shareWith, Share\IShare $expiration = $share->getExpirationDate(); $link = $this->urlGenerator->linkToRouteAbsolute( - 'files.viewcontroller.showFile', ['fileid' => $share->getNodeId()] + 'files.viewcontroller.showFile', ['fileid' => $share->getNodeId(), 'direct' => 1] ); $emailTemplate = $this->mailer->createEMailTemplate('guest.invite');