[frontend/pages] Fix profile view regex (ISH-655)
This commit is contained in:
parent
c032f56d37
commit
0ddb2a0d03
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@
|
|||
}
|
||||
else
|
||||
{
|
||||
var pattern = "^@(.[^@]+)@?(.+)?$";
|
||||
var pattern = "^@([^@]+)@?(.+)?$";
|
||||
var matches = Regex.Match(User, pattern);
|
||||
var userResponse = await Api.Users.LookupUserAsync(matches.Groups[1].Value, matches.Groups[2].Value);
|
||||
if (userResponse is null)
|
||||
|
|
Loading…
Add table
Reference in a new issue