Possible minor BUG: Features onChanged helper callback
Features onChanged helper callback executed once instead when e.g. chat or bits enabled changes
it appears that atleast in hosted env, the following code:
const onChangedFeaturesCallback = (changes) => {
console.log(changes)
}
window.Twitch.ext.features.onChanged(onChangedFeaturesCallback)
is executed once. It is not wrapped within onAuthorized
. Context: the broadcaster and user are the same logged in clients, and the client is affiliate
https://dev.twitch.tv/docs/extensions/reference/#onchanged-features
I could not verify it works on production. Based on the docs mentioned above, I would expect it to execute the callback function whenever features change (including hosted/dev stage) .. e.g. chatEnabled or bitsEnabled changed by the broadcaster in permission settings.
2
votes
HeideltrautEUW
shared this idea