Skip to content

Commit

Permalink
perf: use constant time live channel lookup (Chatterino#3762)
Browse files Browse the repository at this point in the history
  • Loading branch information
iProdigy authored May 22, 2022
1 parent dc34c16 commit 21934b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
- Bugfix: Fixed viewer list not closing after pressing escape key. (#3734)
- 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: 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

Expand Down
2 changes: 1 addition & 1 deletion src/providers/twitch/TwitchIrcServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ void TwitchIrcServer::bulkRefreshLiveStatus()
[this](std::vector<HelixStream> streams) {
for (const auto &stream : streams)
{
auto chan = this->getChannelOrEmptyByID(stream.userId);
auto chan = this->getChannelOrEmpty(stream.userLogin);
if (chan->getType() != Channel::Type::Twitch)
continue;

Expand Down

0 comments on commit 21934b6

Please sign in to comment.