Fixed 7tv & Twitch reconnection. Added adbreak, follow, subscription handlers for Twitch. Added multi-chat support. Added support to unsubscribe from Twitch event subs.
This commit is contained in:
@ -54,7 +54,8 @@ namespace TwitchChatTTS.Seven.Socket.Handlers
|
||||
{
|
||||
if (removing)
|
||||
{
|
||||
if (_emotes.Get(o.Name) != o.Id) {
|
||||
if (_emotes.Get(o.Name) != o.Id)
|
||||
{
|
||||
_logger.Warning("Mismatched emote found while removing a 7tv emote.");
|
||||
continue;
|
||||
}
|
||||
@ -63,7 +64,8 @@ namespace TwitchChatTTS.Seven.Socket.Handlers
|
||||
}
|
||||
else if (updater != null)
|
||||
{
|
||||
if (_emotes.Get(o.Name) != o.Id) {
|
||||
if (_emotes.Get(o.Name) != o.Id)
|
||||
{
|
||||
_logger.Warning("Mismatched emote found while updating a 7tv emote.");
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user