Add support for custom emojis in poll options (#10322)
* Backend changes for custom emoji support in poll options * Serialize poll emojis in REST API * Render custom emojis in poll options * Render custom emoji in poll options on public pages
Showing
- app/javascript/mastodon/actions/importer/normalizer.js 3 additions, 1 deletionapp/javascript/mastodon/actions/importer/normalizer.js
- app/javascript/mastodon/components/poll.js 12 additions, 1 deletionapp/javascript/mastodon/components/poll.js
- app/lib/formatter.rb 6 additions, 0 deletionsapp/lib/formatter.rb
- app/models/poll.rb 4 additions, 0 deletionsapp/models/poll.rb
- app/models/status.rb 5 additions, 1 deletionapp/models/status.rb
- app/serializers/rest/poll_serializer.rb 1 addition, 0 deletionsapp/serializers/rest/poll_serializer.rb
- app/views/stream_entries/_detailed_status.html.haml 1 addition, 1 deletionapp/views/stream_entries/_detailed_status.html.haml
- app/views/stream_entries/_poll.html.haml 2 additions, 2 deletionsapp/views/stream_entries/_poll.html.haml
- app/views/stream_entries/_simple_status.html.haml 1 addition, 1 deletionapp/views/stream_entries/_simple_status.html.haml
Please register or sign in to comment