Explain additional whitelist check

This commit is contained in:
afrmtbl
2019-12-05 15:48:26 -05:00
parent 2f6ddeb5f1
commit 6d442b9e80

View File

@@ -475,6 +475,10 @@ function sponsorsLookup(id, channelIDPromise) {
sponsorLookupRetries++;
}
// If the initial channel whitelist check finishes before
// the fetching of the sponsor times, then the sponsor times will be
// added again after the whitelist check clears them. Checking it here makes sure
// the whitelist will be applied (downside is `whitelistCheck()` gets called multiple times).
if (channelWhitelisted) {
whitelistCheck();
}