mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-14 23:47:04 +03:00
Don't stop skipping if channel id fetch fails
This commit is contained in:
@@ -1150,14 +1150,12 @@ async function whitelistCheck() {
|
|||||||
channelIDInfo = {
|
channelIDInfo = {
|
||||||
status: ChannelIDStatus.Found,
|
status: ChannelIDStatus.Found,
|
||||||
id: getChannelID().match(/^\/?([^\s/]+)/)[0]
|
id: getChannelID().match(/^\/?([^\s/]+)/)[0]
|
||||||
}
|
};
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
channelIDInfo = {
|
channelIDInfo = {
|
||||||
status: ChannelIDStatus.Failed,
|
status: ChannelIDStatus.Failed,
|
||||||
id: null
|
id: null
|
||||||
}
|
};
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//see if this is a whitelisted channel
|
//see if this is a whitelisted channel
|
||||||
|
|||||||
Reference in New Issue
Block a user