Merge pull request #1049 from apa420/apa-pubsub-fix

Pubsub messages now go into the correct channel
This commit is contained in:
pajlada
2019-05-01 22:22:03 +02:00
committed by GitHub
+2 -1
View File
@@ -268,7 +268,8 @@ std::shared_ptr<Channel> TwitchServer::getChannelOrEmptyByID(
if (!twitchChannel)
continue;
if (twitchChannel->roomId() == channelId)
if (twitchChannel->roomId() == channelId &&
twitchChannel->getName().split(":").size() < 3)
{
return twitchChannel;
}