Skip to content

Commit

Permalink
fix: Missing # from autocompleted user mention format (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
SychO9 authored Oct 18, 2021
1 parent f0a3859 commit 8ef0ff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/forum/utils/getMentionText.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8ef0ff6

Please # to comment.