Prevent Twitch websocket client to subscribe again if Twitch moved/reconnected us

This commit is contained in:
Tom
2024-08-12 18:06:10 +00:00
parent 693a448972
commit f503f7c6f4
3 changed files with 44 additions and 64 deletions

View File

@@ -43,6 +43,7 @@ namespace TwitchChatTTS.Twitch.Socket.Handlers
_logger.Debug($"Reconnection received [receiver: {sender.UID}][main: {identified.UID}][backup: {backup.UID}]");
backup.URL = message.Session.ReconnectUrl;
backup.TwitchReconnected = true;
await backup.Connect();
}
}