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:
Roeland Jago Douma 2020-01-26 20:43:51 +01:00 committed by GitHub
commit 1e0e09e5ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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',