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

Allow option to have custom emoji shortnames not use the colon before and after. #449

Closed
dannekrose opened this issue Jun 22, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@dannekrose
Copy link

Is your feature request related to a problem? Please describe.
This is not a problem. This is a feature request to allow shortnames for custom emoji to not require a colon at the beginning and end of the shortname.

Describe the solution you'd like

Currently, when creating or importing a custom emoji, the shortname requires a colon ( : ) before and after the shortname:
example:
:myCustomEmoji:

This solution would allow for shortnames that don't require the colons.
Example:
myCustomEmoji

In the JSON, it would look like this (after adding this feature):

[{"sn":"myCustomEmoji","url":"data:image...." ...

Describe alternatives you've considered

This doesn't have an easy workaround. I haven't modified the underlying javascript code to remove the colons, but I suspect this is possible but requires CLI access and knowledge of the plugin's code structure.

Additional context
When linking peertube live chat with Twitch, custom emoji on twitch often do not have the colons in the emoji shortname. This means that even with the same name for a custom emoji on Twitch and PeerTube Live Chat, they won't show up in the other service's chat as rendered due to the emoji shortnames being different.

@JohnXLivingston JohnXLivingston self-assigned this Jun 24, 2024
@JohnXLivingston JohnXLivingston added the enhancement New feature or request label Jun 24, 2024
@JohnXLivingston JohnXLivingston added this to the Various dev milestone Jun 24, 2024
@JohnXLivingston
Copy link
Owner

Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants