Version 0.7.1

This commit is contained in:
Aslan 2025-12-28 18:28:37 +01:00
parent dcd6778c19
commit 1a2ec10b04
4 changed files with 14 additions and 12 deletions

View file

@ -66,7 +66,9 @@ const getUserName = (user: IUser): string => {
return "";
}
return match.replaceAll("@", "");
let username = match.replaceAll("@", "");
username = username.charAt(0).toUpperCase() + username.slice(1);
return username;
};
const getUserFromMention = (mention: string | undefined): IUser | undefined => {