diff options
Diffstat (limited to 'server/models/video/video-comment.ts')
-rw-r--r-- | server/models/video/video-comment.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/models/video/video-comment.ts b/server/models/video/video-comment.ts index dd6d08139..d8fc2a564 100644 --- a/server/models/video/video-comment.ts +++ b/server/models/video/video-comment.ts | |||
@@ -448,6 +448,10 @@ export class VideoCommentModel extends Model<VideoCommentModel> { | |||
448 | } | 448 | } |
449 | } | 449 | } |
450 | 450 | ||
451 | getCommentStaticPath () { | ||
452 | return this.Video.getWatchStaticPath() + ';threadId=' + this.getThreadId() | ||
453 | } | ||
454 | |||
451 | getThreadId (): number { | 455 | getThreadId (): number { |
452 | return this.originCommentId || this.id | 456 | return this.originCommentId || this.id |
453 | } | 457 | } |