From 7b9b2d3ab749b67c557ed2ba74e52db064a3ec70 Mon Sep 17 00:00:00 2001 From: sprunk Date: Sun, 5 May 2024 23:41:18 +0200 Subject: [PATCH 1/2] Admins can see everybody in lobby --- ZkLobbyServer/ZkLobbyServer.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ZkLobbyServer/ZkLobbyServer.cs b/ZkLobbyServer/ZkLobbyServer.cs index fe81cb001..bfc5146ab 100644 --- a/ZkLobbyServer/ZkLobbyServer.cs +++ b/ZkLobbyServer/ZkLobbyServer.cs @@ -212,6 +212,9 @@ public bool CanUserSee(ConnectedUser uWatcher, ConnectedUser uWatched) // admins always visible if (uWatched.User?.IsAdmin == true) return true; + // admins see everybody + if (uWatcher.User?.IsAdmin == true) return true; + // friends see each other if (uWatcher.FriendNames.Contains(uWatched.Name)) return true; From d9b0555bfaeed2f7ae1f760ff09e6f271850bc85 Mon Sep 17 00:00:00 2001 From: Mankarse Date: Mon, 1 Jul 2024 19:32:41 +1000 Subject: [PATCH 2/2] Update Octokit 10.0.0 -> 13.0.0 Old Octokit versions used int rather than long for Comment.Id; which causes overflow error when parsing responses from the GitHub Comments API. See https://github.com/octokit/octokit.net/pull/2928 --- ChobbyLauncher/ChobbyLauncher.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChobbyLauncher/ChobbyLauncher.csproj b/ChobbyLauncher/ChobbyLauncher.csproj index 19aff4d56..c97f60e57 100644 --- a/ChobbyLauncher/ChobbyLauncher.csproj +++ b/ChobbyLauncher/ChobbyLauncher.csproj @@ -163,7 +163,7 @@ - +