summaryrefslogtreecommitdiff
path: root/src/remote/activitypub/renderer/document.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/remote/activitypub/renderer/document.ts')
-rw-r--r--src/remote/activitypub/renderer/document.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/remote/activitypub/renderer/document.ts b/src/remote/activitypub/renderer/document.ts
index 4f6ea8c4ee..f6e9dca45d 100644
--- a/src/remote/activitypub/renderer/document.ts
+++ b/src/remote/activitypub/renderer/document.ts
@@ -4,5 +4,6 @@ import { DriveFiles } from '../../../models';
export default (file: DriveFile) => ({
type: 'Document',
mediaType: file.type,
- url: DriveFiles.getPublicUrl(file)
+ url: DriveFiles.getPublicUrl(file),
+ name: file.comment,
});