mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
Merge pull request #51512 from nextcloud/fix/comments/activity-rich-subject-parameters
fix(comments): Fix activity rich subject parameters
This commit is contained in:
commit
6bd3f09c8e
1 changed files with 4 additions and 1 deletions
|
|
@ -174,10 +174,13 @@ class Provider implements IProvider {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array<string, string>
|
||||
*/
|
||||
protected function generateFileParameter(int $id, string $path): array {
|
||||
return [
|
||||
'type' => 'file',
|
||||
'id' => $id,
|
||||
'id' => (string)$id,
|
||||
'name' => basename($path),
|
||||
'path' => $path,
|
||||
'link' => $this->url->linkToRouteAbsolute('files.viewcontroller.showFile', ['fileid' => $id]),
|
||||
|
|
|
|||
Loading…
Reference in a new issue