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

Changed to ref for better performance #1049
This commit is contained in:
pajlada 2019-05-01 22:36:32 +02:00 committed by GitHub
commit 01082b123f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -269,7 +269,7 @@ std::shared_ptr<Channel> TwitchServer::getChannelOrEmptyByID(
continue; continue;
if (twitchChannel->roomId() == channelId && if (twitchChannel->roomId() == channelId &&
twitchChannel->getName().split(":").size() < 3) twitchChannel->getName().splitRef(":").size() < 3)
{ {
return twitchChannel; return twitchChannel;
} }