TwitchLib / TwitchLib.Unity

TwitchLib repository representing all code belonging to the implementation of TwitchLib for Unity. Maintained primarily by LuckyNoS7evin.
164 stars 33 forks source link

Connections are temporary when the channel name is not all lowercase #43

Open Z-Doctor opened 5 years ago

Z-Doctor commented 5 years ago

I found that when a client is Initialized with a channel name that is not all lower case, a connection is established and messages can be sent, but after a few seconds, the channel is removed from the joined channels. The OnLeftChannel event is not invoked when this happens.

swiftyspiffy commented 5 years ago

This is weird because the channel is immediately sent to lowercase: https://github.com/TwitchLib/TwitchLib.Client/blob/master/TwitchLib.Client/TwitchClient.cs#L332

Will look further into it. It might be because the unity build of twitchlib is a bit behind?