Merge pull request #52576 from nextcloud/backport/52575/stable31

[stable31] fix(notification): Notification in activity shows "Rich subject or a …
This commit is contained in:
Andy Scherzinger 2025-05-01 15:21:18 +02:00 committed by GitHub
commit 55ddcb3961
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -138,7 +138,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']]),