Send complete video description in AP messages
authorChocobozzz <me@florianbigard.com>
Thu, 4 Jun 2020 13:17:20 +0000 (15:17 +0200)
committerChocobozzz <me@florianbigard.com>
Thu, 4 Jun 2020 13:17:20 +0000 (15:17 +0200)
server/models/video/video-format-utils.ts

index 6d38815bb02583d8b073a8bb9cdb10b51b6610d6..8bc69605567ab6fc2a1c6fa2618542150ebb8a82 100644 (file)
@@ -352,7 +352,7 @@ function videoModelToActivityPubObject (video: MVideoAP): VideoTorrentObject {
     originallyPublishedAt: video.originallyPublishedAt ? video.originallyPublishedAt.toISOString() : null,
     updated: video.updatedAt.toISOString(),
     mediaType: 'text/markdown',
-    content: video.getTruncatedDescription(),
+    content: video.description,
     support: video.support,
     subtitleLanguage,
     icon: {