summaryrefslogtreecommitdiffstats
path: root/lib/Controller/PublicShareAuthController.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-10-22 12:01:11 +0200
committerJoas Schilling <coding@schilljs.com>2018-10-22 12:01:11 +0200
commitd612e845f92dfe086771aea47f70a295486b0526 (patch)
tree4f140056e2f6d7337baa6b6b14002e37f95f2bea /lib/Controller/PublicShareAuthController.php
parent62e7465a6dfe6fa0a16069b9c944775880534685 (diff)
Better notifications for password shares
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Controller/PublicShareAuthController.php')
-rw-r--r--lib/Controller/PublicShareAuthController.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/Controller/PublicShareAuthController.php b/lib/Controller/PublicShareAuthController.php
index 03bfa10d9..96fc2ddc0 100644
--- a/lib/Controller/PublicShareAuthController.php
+++ b/lib/Controller/PublicShareAuthController.php
@@ -116,18 +116,6 @@ class PublicShareAuthController extends OCSController {
'participantType' => Participant::OWNER,
]);
- // Notify the owner
- $notification = $this->notificationManager->createNotification();
- $notification
- ->setApp('spreed')
- ->setObject('room', $room->getToken())
- ->setUser($sharerUser->getUID())
- ->setSubject('share:password', [
- 'sharedWith' => $share->getSharedWith(),
- ])
- ->setDateTime(new \DateTime());
- $this->notificationManager->notify($notification);
-
return new DataResponse([
'token' => $room->getToken(),
'name' => $room->getName(),