]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/video/video-comment.ts
Add missing mediaType info to AP objects
[github/Chocobozzz/PeerTube.git] / server / models / video / video-comment.ts
index 7f28b86b457115ef95dbb97e7885f1ab2030cefb..fa77455bc8714bfa0c90e98c3fd75fcea2266882 100644 (file)
@@ -874,7 +874,10 @@ export class VideoCommentModel extends Model<Partial<AttributesOnly<VideoComment
     return {
       type: 'Note' as 'Note',
       id: this.url,
+
       content: this.text,
+      mediaType: 'text/markdown',
+
       inReplyTo,
       updated: this.updatedAt.toISOString(),
       published: this.createdAt.toISOString(),