Skip to content

fix: Expose url on discussion award emoji

Toon Claes requested to merge toon-fix-discussion-custom-emoji into master

The frontend fetches discussions through a JSON endpoint: discussions.json. This endpoint also provides the awarded emoji for each comment, but those did not include the url for those emoji images (when available). The frontend code is already capable to deal with custom awarded emoji since [1], and it is working for custom award emoji on the issue itself. But for comments it was missing the url of the image.

With this change the url is also provided for award emoji presented through the discussions.json REST endpoint.

  1. 8f8eb1a8 (awardEmoji: Display custom emoji, 2022-03-14)

Screenshots

Before After
grey question mark before party parrot after

Related to: #333095 (closed) & &1820

Edited by Toon Claes

Merge request reports

Loading