aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-03-21 09:35:11 +0100
committerChocobozzz <me@florianbigard.com>2018-03-21 09:35:11 +0100
commit9add00514f89e6e3eefc8f18174338088b9ab12e (patch)
tree6b62bd77b0d4853c97b76b0ec6504b6f5aad4064
parent051bf3f773f5fd64a48eb2d29381db56dbc19745 (diff)
downloadPeerTube-9add00514f89e6e3eefc8f18174338088b9ab12e.tar.gz
PeerTube-9add00514f89e6e3eefc8f18174338088b9ab12e.tar.zst
PeerTube-9add00514f89e6e3eefc8f18174338088b9ab12e.zip
Fix '@' missing in comment mention
-rw-r--r--client/src/app/videos/+video-watch/comment/video-comment-add.component.ts2
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(' ') + ' '