Merge pull request #51512 from nextcloud/fix/comments/activity-rich-subject-parameters

fix(comments): Fix activity rich subject parameters
pull/51520/head
Kate 7 months ago committed by GitHub
commit 6bd3f09c8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 5
      apps/comments/lib/Activity/Provider.php

@ -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…
Cancel
Save