From c60b717b988d92d3fb2d7596d3ad724f254bc317 Mon Sep 17 00:00:00 2001 From: apa420 Date: Wed, 1 May 2019 21:46:53 +0200 Subject: [PATCH] Pubsub messages now go into the correct channel --- src/providers/twitch/TwitchServer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/providers/twitch/TwitchServer.cpp b/src/providers/twitch/TwitchServer.cpp index eaf90026e..0ea4cd37d 100644 --- a/src/providers/twitch/TwitchServer.cpp +++ b/src/providers/twitch/TwitchServer.cpp @@ -268,7 +268,8 @@ std::shared_ptr TwitchServer::getChannelOrEmptyByID( if (!twitchChannel) continue; - if (twitchChannel->roomId() == channelId) + if (twitchChannel->roomId() == channelId && + twitchChannel->getName().split(":").size() < 3) { return twitchChannel; }