Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onFollow: didFollow false when closing the dialog when you already follow the channel #26

Open
BarryCarlyon opened this issue Dec 30, 2019 · 0 comments

Comments

@BarryCarlyon
Copy link
Contributor

Brief description

window.Twitch.ext.actions.onFollow is unintuitive/confusing.

How to reproduce

window.Twitch.ext.actions.onFollow((didFollow, channel) => {
    console.log('Follow',didFollow,channel);
});

Click a follow initiator, where you already follow the channel.

image

Hit cancel/close the dialog results in, the follow console.log message

Follow false noylracyrrab

The event is a reaction to the box interaction, it's not reflective of the actual follow status

Expected behavior

Return actual follow status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant