From 5cca2d6b54e835404d6c7ad0ac2cde6c70633244 Mon Sep 17 00:00:00 2001 From: SychO9 Date: Mon, 18 Oct 2021 16:31:06 +0100 Subject: [PATCH] fix: Missing `#` from autocompleted user mention format --- js/src/forum/utils/getMentionText.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/forum/utils/getMentionText.js b/js/src/forum/utils/getMentionText.js index 5a6c973..99e92af 100644 --- a/js/src/forum/utils/getMentionText.js +++ b/js/src/forum/utils/getMentionText.js @@ -27,7 +27,7 @@ export default function getMentionText(user, postId) { } // @"Display name"#UserID const cleanText = getCleanDisplayName(user); - return `@"${cleanText}"${user.id()}`; + return `@"${cleanText}"#${user.id()}`; } else { // @"Display name"#pPostID const cleanText = getCleanDisplayName(user);