-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
CopyEmojiMarkdown: Fix copying animated emojis #3179
Conversation
…d emoji as they no longer have the extension .gif
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.
Instead of still checking for the extension this should just check if url.pathname ends with "gif". Take a look at isGifUrl from EmoteCloner
Made it check if url.pathname ends with gif instead of finding extension.
Okay, I've made those changes now. |
@Nuckyz |
Co-authored-by: Nuckyz <[email protected]>
Discord animated emojis no longer have the extension .gif. They are now .webp with the query parameter animated=true passed to them. I've updated the copyEmojiMarkdown plugin to reflect this as it wasn't copying animated emojis correctly.