vitorpamplona / amethyst

Nostr client for Android
MIT License
1.17k stars 158 forks source link

[BUG] Custom emoji on translation #1047

Closed kehiy closed 1 month ago

kehiy commented 2 months ago

Describe the bug

When some event contains a custom emoji (NIP-30), and it get auto translated (for example for Japanese to English), the custom emojis will be shown like: :<emoji-tag-name>:.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Amethyst client'
  2. Click on 'Search bar'
  3. Search for 'nevent1qqsrwdqnr9r5dd9uucqntzhz4gkrrr8namxfdlrw8p0pncyw9weay9sprpmhxue69uhhyetvv9ujumn0wdmksetjv5hxxmmdqyt8wumn8ghj7un9d3shjtnwdaehgu3wvfskueqzyzsj9m8de8jsdlaw5g6nr9x2s7aqkqscesgkh47vc7gmn9eqya5xu3udh9t'
  4. You can see the translated note doesn't contain a custom emoji and shows: :meowsurprised:.

Expected behavior

Shows the custom emoji.