mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Merge pull request #1049 from apa420/apa-pubsub-fix
Pubsub messages now go into the correct channel
This commit is contained in:
commit
216b21e0c3
1 changed files with 2 additions and 1 deletions
|
@ -268,7 +268,8 @@ std::shared_ptr<Channel> TwitchServer::getChannelOrEmptyByID(
|
||||||
if (!twitchChannel)
|
if (!twitchChannel)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (twitchChannel->roomId() == channelId)
|
if (twitchChannel->roomId() == channelId &&
|
||||||
|
twitchChannel->getName().split(":").size() < 3)
|
||||||
{
|
{
|
||||||
return twitchChannel;
|
return twitchChannel;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue