Merge pull request #19115 from nextcloud/fix/share_accepting/do_not_use_node_yet
Use the target for file notifications
This commit is contained in:
commit
1e0e09e5ce
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue