summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/lib/Notification/Notifier.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/Notification/Notifier.php b/apps/files_sharing/lib/Notification/Notifier.php
index 6cfa45a649c..a47b04e5b14 100644
--- a/apps/files_sharing/lib/Notification/Notifier.php
+++ b/apps/files_sharing/lib/Notification/Notifier.php
@@ -176,7 +176,7 @@ class Notifier implements INotifier {
'share' => [
'type' => 'highlight',
'id' => $notification->getObjectId(),
- 'name' => $share->getNode()->getName(),
+ 'name' => $share->getTarget(),
],
'user' => [
'type' => 'user',
@@ -212,7 +212,7 @@ class Notifier implements INotifier {
'share' => [
'type' => 'highlight',
'id' => $notification->getObjectId(),
- 'name' => $share->getNode()->getName(),
+ 'name' => $share->getTarget(),
],
'group' => [
'type' => 'user-group',