-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Correctly handle paginated response for twitch user emotes #616
Conversation
5470d6b
to
fbd93fc
Compare
I'll be able to test later today (6 hours or so), thank you very much for the quick PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, I've tested it out, here's what I've found:
- Going to my own channel where I should have access to all emotes shows an empty list in the emote picker.
- Going to someone else's channel shows their emotes, but no global.
- I am subscribed to one channel, but no subscriber emotes from said channel show up in any place.
Although I understand you disabled global fetching from get_global_emotes
, it doesn't seem to be handled by get_user_emotes
's response.
Please let me know if I am misunderstanding any functionality.
Please make sure your token has the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yeah I see the warning now. Thought I had generated my token with that scope, seems otherwise. Generated the right token, PR works. Please go ahead and do the cleanup when you can.
Ah sorry I already did it, it's good to merge. |
Very cool. Thanks! |
Fixes #615
This is a very quick fix, let me know if it works.
I disabled fetching global emotes for twitch as it should now be handled by the
get_user_emotes
part.If it works correctly I'll do a bit of cleanup before merging.