Skip to content

Instantly share code, notes, and snippets.

@nikclayton
Created July 5, 2025 08:38
Show Gist options
  • Save nikclayton/5be470a4cbda76b8826c88c7fa2193b2 to your computer and use it in GitHub Desktop.
Save nikclayton/5be470a4cbda76b8826c88c7fa2193b2 to your computer and use it in GitHub Desktop.

If you're not sure about any of this you can contact the GoToSocial devs at https://codeberg.org/superseriousbusiness/gotosocial#contact -- there should be enough information here for them to determine if this is a misconfiguration of your server, a GoToSocial bug, or a Mastodon bug.

Your account name isn't displaying properly on Mastodon. It looks like this:

image

Note the :purplerabbit: in there.

This is because you have several emoji references in your account's display_name, but your account info doesn't include all the emoji details, so other servers can't show it.

Your account's display_name looks like this:

Omega :purplerabbit::transfeminine_flag::ms_neurodiversity:

An example post (as seen from mastodon.social) is https://mastodon.social/api/v1/statuses/114798152517937637.

The account info with emojis in the response is:

{
  ...
  "account": {
    ...
        "emojis": [
      {
        "shortcode": "ms_neurodiversity",
        "url": "https://files.mastodon.social/cache/custom_emojis/images/001/090/864/original/9858bc8bf6ee4cd3.png",
        "static_url": "https://files.mastodon.social/cache/custom_emojis/images/001/090/864/static/9858bc8bf6ee4cd3.png",
        "visible_in_picker": true
      },
      {
        "shortcode": "ms_transgender_flag",
        "url": "https://files.mastodon.social/cache/custom_emojis/images/001/090/859/original/2acad31abcd19f3b.png",
        "static_url": "https://files.mastodon.social/cache/custom_emojis/images/001/090/859/static/2acad31abcd19f3b.png",
        "visible_in_picker": true
      },
      {
        "shortcode": "transfeminine_flag",
        "url": "https://files.mastodon.social/cache/custom_emojis/images/001/154/362/original/c6fdcb36a3555b48.png",
        "static_url": "https://files.mastodon.social/cache/custom_emojis/images/001/154/362/static/c6fdcb36a3555b48.png",
        "visible_in_picker": true
      },
      {
        "shortcode": "transfem_flag",
        "url": "https://files.mastodon.social/cache/custom_emojis/images/001/090/861/original/cc46ec69534f575d.png",
        "static_url": "https://files.mastodon.social/cache/custom_emojis/images/001/090/861/static/cc46ec69534f575d.png",
        "visible_in_picker": true
      },
      {
        "shortcode": "aroace_flag",
        "url": "https://files.mastodon.social/cache/custom_emojis/images/001/090/860/original/6194cd27cf0515c2.png",
        "static_url": "https://files.mastodon.social/cache/custom_emojis/images/001/090/860/static/6194cd27cf0515c2.png",
        "visible_in_picker": true
      },
      {
        "shortcode": "ms_lesbian_flag",
        "url": "https://files.mastodon.social/cache/custom_emojis/images/001/090/862/original/9b874b72c3961c6e.png",
        "static_url": "https://files.mastodon.social/cache/custom_emojis/images/001/090/862/static/9b874b72c3961c6e.png",
        "visible_in_picker": true
      },
      {
        "shortcode": "collared",
        "url": "https://files.mastodon.social/cache/custom_emojis/images/001/179/282/original/d84c45efbdd84d5f.png",
        "static_url": "https://files.mastodon.social/cache/custom_emojis/images/001/179/282/static/d84c45efbdd84d5f.png",
        "visible_in_picker": true
      },
      {
        "shortcode": "dgirl",
        "url": "https://files.mastodon.social/cache/custom_emojis/images/001/197/528/original/4e70bfb54daad362.png",
        "static_url": "https://files.mastodon.social/cache/custom_emojis/images/001/197/528/static/4e70bfb54daad362.png",
        "visible_in_picker": true
      },
      {
        "shortcode": "ms_red_question_mark",
        "url": "https://files.mastodon.social/cache/custom_emojis/images/001/197/518/original/87153ba9cadedd62.png",
        "static_url": "https://files.mastodon.social/cache/custom_emojis/images/001/197/518/static/87153ba9cadedd62.png",
        "visible_in_picker": true
      }
    ],
    ...
  },
  ...
    "emojis": [
    {
      "shortcode": "neofox_sad",
      "url": "https://files.mastodon.social/cache/custom_emojis/images/001/105/977/original/f5abac7cf8aef918.png",
      "static_url": "https://files.mastodon.social/cache/custom_emojis/images/001/105/977/static/f5abac7cf8aef918.png",
      "visible_in_picker": true
    }
  ],
  ...
}

As you can see, there's no entry in there with a shortcode that matches purplerabbit, so clients (whether it's the Mastodon web UI, or apps like Pachli (https://pachli.app)) can't show the emoji.

I don't know GoToSocial well enough, so I can't tell if this is:

  1. A configuration issue on your server, and it's not including the emoji information when it should be
  2. A GoToSocial bug
  3. A Mastodon bug

Hopefully that's enough info to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment