mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-14 01:50:45 +01:00
tweak of 0554dd8375
This commit is contained in:
parent
0554dd8375
commit
b20703c185
1 changed files with 1 additions and 1 deletions
|
@ -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}`;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue