1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 16:12:57 +08:00

display user in error message

Co-authored-by: Salman Ahmed <frenzibyte@gmail.com>
This commit is contained in:
rednir 2021-09-10 08:02:15 +01:00 committed by GitHub
parent 84c152e7b6
commit 5ec615c783
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -277,7 +277,7 @@ namespace osu.Game.Online.Chat
var request = new GetUserRequest(content);
request.Success += OpenPrivateChannel;
request.Failure += _ => target.AddNewMessages(new ErrorMessage("User not found."));
request.Failure += _ => target.AddNewMessages(new ErrorMessage($"User '{content}' was not found."));
api.Queue(request);
break;