mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 19:22:54 +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);
|
var request = new GetUserRequest(content);
|
||||||
request.Success += OpenPrivateChannel;
|
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);
|
api.Queue(request);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user