mirror of
https://github.com/ppy/osu
synced 2024-12-15 19:36:34 +00:00
Fix code sanity
This commit is contained in:
parent
697b551f3e
commit
2056258def
@ -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;
|
||||
|
@ -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.");
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user