Merge pull request #52577 from nextcloud/backport/52575/stable30

[stable30] fix(notification): Notification in activity shows "Rich subject or a …
This commit is contained in:
Joas Schilling 2025-05-01 19:56:45 +02:00 committed by GitHub
commit 58a19ffcae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -149,7 +149,7 @@ class FavoriteProvider implements IProvider {
}
$parameter = [
'type' => 'file',
'id' => $subjectParams['id'],
'id' => (string) $subjectParams['id'],
'name' => basename($subjectParams['path']),
'path' => trim($subjectParams['path'], '/'),
'link' => $this->url->linkToRouteAbsolute('files.viewcontroller.showFile', ['fileid' => $subjectParams['id']]),