mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Merge pull request #1050 from apa420/apa-pubsub-fix
Changed to ref for better performance #1049
This commit is contained in:
commit
01082b123f
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ std::shared_ptr<Channel> TwitchServer::getChannelOrEmptyByID(
|
|||
continue;
|
||||
|
||||
if (twitchChannel->roomId() == channelId &&
|
||||
twitchChannel->getName().split(":").size() < 3)
|
||||
twitchChannel->getName().splitRef(":").size() < 3)
|
||||
{
|
||||
return twitchChannel;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue