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

[stable31] fix(notification): Notification in activity shows "Rich subject or a …
pull/52578/head
Andy Scherzinger 2025-05-01 15:21:18 +07:00 committed by GitHub
commit 55ddcb3961
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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