mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
perf: use constant time live channel lookup (#3762)
This commit is contained in:
parent
dc34c16dbe
commit
21934b6aaf
2 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@
|
||||||
- Bugfix: Fixed viewer list not closing after pressing escape key. (#3734)
|
- Bugfix: Fixed viewer list not closing after pressing escape key. (#3734)
|
||||||
- Bugfix: Fixed links with no thumbnail having previous link's thumbnail. (#3720)
|
- Bugfix: Fixed links with no thumbnail having previous link's thumbnail. (#3720)
|
||||||
- Dev: Use Game Name returned by Get Streams instead of querying it from the Get Games API. (#3662)
|
- Dev: Use Game Name returned by Get Streams instead of querying it from the Get Games API. (#3662)
|
||||||
- Dev: Batch checking live status for all channels after startup. (#3757)
|
- Dev: Batch checking live status for all channels after startup. (#3757, #3762)
|
||||||
|
|
||||||
## 2.3.5
|
## 2.3.5
|
||||||
|
|
||||||
|
|
|
@ -346,7 +346,7 @@ void TwitchIrcServer::bulkRefreshLiveStatus()
|
||||||
[this](std::vector<HelixStream> streams) {
|
[this](std::vector<HelixStream> streams) {
|
||||||
for (const auto &stream : streams)
|
for (const auto &stream : streams)
|
||||||
{
|
{
|
||||||
auto chan = this->getChannelOrEmptyByID(stream.userId);
|
auto chan = this->getChannelOrEmpty(stream.userLogin);
|
||||||
if (chan->getType() != Channel::Type::Twitch)
|
if (chan->getType() != Channel::Type::Twitch)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue