From d262baefada800347338f6422739baa1b50bc45a Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Wed, 1 Dec 2021 22:43:32 +0900 Subject: [PATCH] Only query for the owner user metadata in the case it is actually required --- osu.Game/Screens/OnlinePlay/DrawableRoomPlaylistItem.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/osu.Game/Screens/OnlinePlay/DrawableRoomPlaylistItem.cs b/osu.Game/Screens/OnlinePlay/DrawableRoomPlaylistItem.cs index 2e630262f3..e2471d71d6 100644 --- a/osu.Game/Screens/OnlinePlay/DrawableRoomPlaylistItem.cs +++ b/osu.Game/Screens/OnlinePlay/DrawableRoomPlaylistItem.cs @@ -151,8 +151,11 @@ namespace osu.Game.Screens.OnlinePlay { try { - var foundUser = await userLookupCache.GetUserAsync(Item.OwnerID).ConfigureAwait(false); - Schedule(() => ownerAvatar.User = foundUser); + if (showItemOwner) + { + var foundUser = await userLookupCache.GetUserAsync(Item.OwnerID).ConfigureAwait(false); + Schedule(() => ownerAvatar.User = foundUser); + } var foundBeatmap = await beatmapLookupCache.GetBeatmapAsync(Item.BeatmapID).ConfigureAwait(false); Schedule(() => Item.Beatmap.Value = foundBeatmap);