-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Federate custom emojis with accounts #6124
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.
The idea sounds great, but this implementation does not federate, does it?
I don't know. I'm not familiar enough with the codebase to recognize which bits deal with federation vs. which don't. Can you expand on which bits are problematic? |
To federate:
For instance, the sender implementation for statuses attaches emojis
The receiver implementation for statuses resolves emojis
Similar changes are required by:
|
Thanks! I'll take a look at this in more detail over the weekend. |
My concern seems addressed but I have not reviewed yet.
I also want to add tests and do a little refactoring, please do not merge yet :) |
This looks alright, I think, is it still WIP? |
I was hoping to add some tests, but the functionality is all there.
…On Sun, Apr 1, 2018, 06:14 Eugen Rochko, ***@***.***> wrote:
This looks alright, I think, is it still WIP?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6124 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AASNRVxsiUvVYotoH4AS1XvrGMJZ_nKgks5tkKiigaJpZM4ROm_2>
.
|
For reference, I think this is still missing the parts for rendering custom emojis within the web UI. |
Fixes #5666
This PR Adds an option to the
simplified_format
helper to render custom emoji.It also adds this option to calls made from the REST account serializer and the account show partial.
Finally, there are unit tests for the new option.
I'm not familiar with the ins and outs of the various views and serializers, so if this PR puts code in the wrong place please let me know. Thanks!