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

fix: when parsing a 'react' command, try to convert custom emote name to MXC URL #1894

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ggurdin
Copy link
Contributor

@ggurdin ggurdin commented Jul 29, 2024

Hello! It looks like the rendering logic for some clients (I'm thinking specifically at fluffychat) is expecting the key for custom emote reaction events to be the URL for the emote image. This addition parses the custom emote name into its corresponding URL before sending the event.

… to MXC URL so the URL is saved as the key for the reaction event
@nico-famedly
Copy link
Member

This looks reasonable to me, could you also add a test for it?

@ggurdin
Copy link
Contributor Author

ggurdin commented Oct 30, 2024

Hello! Sorry for the extremely late reply. I have added a test.

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

Successfully merging this pull request may close these issues.

2 participants