Mattermost-server: Render custom emoji in custom branding text

Created on 12 Oct 2020  路  3Comments  路  Source: mattermost/mattermost-server

  1. Create a custom emoji for "yay"
  2. Go to System Console > Customization, enable custom branding and enter the following as the custom branding text

:yay:

Observed: Custom emoji doesn't render

Expected: Custom emoji renders.

NOTE: Also applies for terms of service feature.


If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.

New contributors please see our Developer's Guide.

JIRA: https://mattermost.atlassian.net/browse/MM-12657

AreEnd User Feature Easy Help Wanted TecReactJS

Most helpful comment

:hand: I would like to work on this one.

All 3 comments

:hand: I would like to work on this one.

I found that entities.emojis.customEmoji map is empty in login screen state. It appears that markdown component needs this map to render custom emojis properly. I tried to initiate the map using emoji.ts#getCustomEmojis in root.jsx but unfortunately it doesn't work (authentication error in promise). Do you think I'm on the good way or should I change the approach?

Seems there is an internal debate about security issues with this bug (cf. https://mattermost.atlassian.net/browse/MM-12657). Could you kindly double-check that the feature is wanted?

Was this page helpful?
0 / 5 - 0 ratings