Check if it is the streamer viewing

See if the userID (is allowing ID sharing) is the JWT matches the channel ID - window.Twitch.ext.viewer.id:
Or the opaqueId is UchannelID
Or the JWT role is broadcaster
Or the Helper Role is broadcaster as in window.Twitch.ext.viewer.role

or if they are on the config view, defintely the broadcaster, but still wise to test

1 Like