mirror of
https://github.com/flarum/framework.git
synced 2025-02-18 12:33:22 +08:00
fix: Missing #
from autocompleted user mention format (#74)
This commit is contained in:
parent
ac427a8a4a
commit
3437d7229e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user