mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 14:57:52 +08:00
display user in error message
Co-authored-by: Salman Ahmed <frenzibyte@gmail.com>
This commit is contained in:
parent
84c152e7b6
commit
5ec615c783
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user