1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-04-09 06:09:34 -05:00
This commit is contained in:
syuilo 2023-03-07 19:48:51 +09:00
parent 0554dd8375
commit b20703c185

View file

@ -423,7 +423,7 @@ function addVisibleUser() {
os.selectUser().then(user => {
pushVisibleUser(user);
if (!text.includes(`@${user.username}`)) {
if (!text.toLowerCase().includes(`@${user.username.toLowerCase()}`)) {
text = `@${Acct.toString(user)} ${text}`;
}
});