Now treat user not existing as being offline as Bossman got perma banned on Twitch

This commit is contained in:
barelyprofessional
2024-08-23 12:28:31 +08:00
parent 45ba16f419
commit ca81702fc0

View File

@@ -205,7 +205,8 @@ public class Twitch : IDisposable
if (responseContent.GetProperty("data").GetProperty("user").ValueKind == JsonValueKind.Null) if (responseContent.GetProperty("data").GetProperty("user").ValueKind == JsonValueKind.Null)
{ {
_logger.Debug("data.user was null"); _logger.Debug("data.user was null");
throw new TwitchUserNotFoundException(); //throw new TwitchUserNotFoundException();
return false;
} }
if (responseContent.GetProperty("data").GetProperty("user").GetProperty("stream").ValueKind == if (responseContent.GetProperty("data").GetProperty("user").GetProperty("stream").ValueKind ==