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

Fix code sanity

This commit is contained in:
miterosan 2018-04-11 20:31:16 +02:00
parent 697b551f3e
commit 2056258def
3 changed files with 8 additions and 5 deletions

View File

@ -1,4 +1,6 @@

// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using osu.Framework.Extensions.Color4Extensions;

View File

@ -197,7 +197,7 @@ namespace osu.Game.Online.Chat
var withoutReplyGroups = outgoingMessagesGroups.Where(g => joinedUserChannels.All(m => m.Id != g.Key));
foreach (var withoutReplyGroup in withoutReplyGroups)
{
{
var userReq = new GetUserRequest(withoutReplyGroup.First().TargetId);
userReq.Failure += exception => Logger.Error(exception, "Failed to get user informations.");

View File

@ -1,4 +1,7 @@
using System;
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Linq;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
@ -79,8 +82,6 @@ namespace osu.Game.Overlays.Chat
ChannelTabControl.AddItem(channel);
break;
}
}
public void RemoveItem(Channel channel)