-
-
Notifications
You must be signed in to change notification settings - Fork 455
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
Support Animated FFZ Emotes and Authors for Global Emotes #4434
Conversation
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.
clang-tidy made some suggestions
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.
For simplicity in reviewing, could you rebase the animated URL check into a separate commit from the refactors? Moving code (into a function in this case) & changing something in that function hides the functional changes that were made
not feedback, just notes for myself:
dev: This changes a bunch of toObject().value(...)
calls to [...]
. For QJsonValue's they do the same thing
dev: This changes a few value(...)
calls to [...]
. For QJsonObject's, they do the same thing
EDIT: I see you explaine dth evalue/operator[] stuff but I didn't read it :tf:
fd014f7
to
e2e1e05
Compare
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.
clang-tidy made some suggestions
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.
Pull request checklist:
CHANGELOG.md
was updated, if applicableDescription
This PR adds support for animated FFZ emotes and shows authors for global emotes:
chatterino_2023-03-05_11-24-21.mp4
I refactored the code a bit to reduce duplicated parsing of channel/global emotes and to make it easier to read (by replacing
QJsonObject::value
withQJsonObject::operator[]
).