mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Now treat user not existing as being offline as Bossman got perma banned on Twitch
This commit is contained in:
@@ -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 ==
|
||||||
|
|||||||
Reference in New Issue
Block a user