mirror of
https://github.com/flarum/core.git
synced 2025-07-29 12:40:40 +02:00
fix: Missing #
from autocompleted user mention format (#74)
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user