Skip to content
Snippets Groups Projects
Unverified Commit 1e0e09e5 authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by GitHub
Browse files

Merge pull request #19115 from nextcloud/fix/share_accepting/do_not_use_node_yet

Use the target for file notifications
parents b6f06e1f 8f15e2d5
No related branches found
No related tags found
No related merge requests found
...@@ -176,7 +176,7 @@ class Notifier implements INotifier { ...@@ -176,7 +176,7 @@ class Notifier implements INotifier {
'share' => [ 'share' => [
'type' => 'highlight', 'type' => 'highlight',
'id' => $notification->getObjectId(), 'id' => $notification->getObjectId(),
'name' => $share->getNode()->getName(), 'name' => $share->getTarget(),
], ],
'user' => [ 'user' => [
'type' => 'user', 'type' => 'user',
...@@ -212,7 +212,7 @@ class Notifier implements INotifier { ...@@ -212,7 +212,7 @@ class Notifier implements INotifier {
'share' => [ 'share' => [
'type' => 'highlight', 'type' => 'highlight',
'id' => $notification->getObjectId(), 'id' => $notification->getObjectId(),
'name' => $share->getNode()->getName(), 'name' => $share->getTarget(),
], ],
'group' => [ 'group' => [
'type' => 'user-group', 'type' => 'user-group',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment