mirror of
https://github.com/ppy/osu.git
synced 2024-09-22 12:07:23 +08:00
Resolve "Redundant lambda signature parentheses"
This commit is contained in:
parent
7cc388b5ab
commit
cd91cc860d
@ -450,7 +450,7 @@ namespace osu.Game.Online.Chat
|
|||||||
var channel = JoinedChannels.First(c => c.Id == message.ChannelId);
|
var channel = JoinedChannels.First(c => c.Id == message.ChannelId);
|
||||||
var req = new MarkChannelAsReadRequest(channel, message);
|
var req = new MarkChannelAsReadRequest(channel, message);
|
||||||
req.Success += () => channel.LastReadId = message.Id;
|
req.Success += () => channel.LastReadId = message.Id;
|
||||||
req.Failure += (e) => Logger.Error(e, "Failed to mark channel as read");
|
req.Failure += e => Logger.Error(e, "Failed to mark channel as read");
|
||||||
api.Queue(req);
|
api.Queue(req);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user