perf: use constant time live channel lookup (#3762)
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user