mirror of
https://github.com/nextcloud/server.git
synced 2026-04-28 01:28:08 -04:00
fix(comments): Fix activity rich subject parameters
Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
parent
4c09ba8f4d
commit
f3bed2c340
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