diff --git a/src/content.ts b/src/content.ts index 7029a89b..7788c0f4 100644 --- a/src/content.ts +++ b/src/content.ts @@ -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