diff options
-rw-r--r-- | client/src/app/videos/+video-watch/comment/video-comment-add.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/videos/+video-watch/comment/video-comment-add.component.ts b/client/src/app/videos/+video-watch/comment/video-comment-add.component.ts index 2ddc7787c..731652fda 100644 --- a/client/src/app/videos/+video-watch/comment/video-comment-add.component.ts +++ b/client/src/app/videos/+video-watch/comment/video-comment-add.component.ts | |||
@@ -60,7 +60,7 @@ export class VideoCommentAddComponent extends FormReactive implements OnInit { | |||
60 | if (this.parentComment) { | 60 | if (this.parentComment) { |
61 | const mentions = this.parentComments | 61 | const mentions = this.parentComments |
62 | .filter(c => c.account.id !== this.user.account.id) // Don't add mention of ourselves | 62 | .filter(c => c.account.id !== this.user.account.id) // Don't add mention of ourselves |
63 | .map(c => c.by) | 63 | .map(c => '@' + c.by) |
64 | 64 | ||
65 | const mentionsSet = new Set(mentions) | 65 | const mentionsSet = new Set(mentions) |
66 | const mentionsText = Array.from(mentionsSet).join(' ') + ' ' | 66 | const mentionsText = Array.from(mentionsSet).join(' ') + ' ' |