Merge pull request #19149 from nextcloud/backport/19115/stable18
[stable18] Use the target for file notifications
This commit is contained in:
commit
c99c969d55
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue