Don't stop skipping if channel id fetch fails

This commit is contained in:
Ajay 2022-05-21 16:54:02 -04:00
parent 97e30e4001
commit 4182595436

View file

@ -1150,14 +1150,12 @@ async function whitelistCheck() {
channelIDInfo = {
status: ChannelIDStatus.Found,
id: getChannelID().match(/^\/?([^\s/]+)/)[0]
}
};
} catch (e) {
channelIDInfo = {
status: ChannelIDStatus.Failed,
id: null
}
return;
};
}
//see if this is a whitelisted channel