mirror of
https://github.com/flarum/framework.git
synced 2025-02-20 22:30:41 +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…
x
Reference in New Issue
Block a user