wordpress-activitypub icon indicating copy to clipboard operation
wordpress-activitypub copied to clipboard

Federated comments: Fediverse handles including custom emoticons are displayed in plain text

Open jeherve opened this issue 1 year ago • 4 comments

Quick summary

When someone replies to one of my posts via the Fediverse, their display name on the Fediverse is displayed as is in the comment on my site, even if their name includes a custom emoticon.

Steps to reproduce

  1. Start with a site that uses the ActivityPub plugin

  2. Publish a post.

  3. Log in to a Mastodon account you may own, and change your display name there to include a custom emoticon that was added on that instance.

    • Here is an example: Image
  4. Reply to the post on your site from that Mastodon account

What you expected to happen

I would expect that post (and my custom Fediverse handle) to be displayed as the commenter name on my site.

What actually happened

Instead, the custom emoticon is displayed in plain text:

Image

Impact

Some (< 50%)

Available workarounds?

There is no user impact

Logs or notes

No response

jeherve avatar Nov 08 '24 08:11 jeherve

How would the custom emoji be passed on and processed?

What would be good steps for me to set up a test account that I could recreate this with?

obenland avatar Dec 06 '24 19:12 obenland

I would start the investigation with: https://docs.joinmastodon.org/spec/activitypub/#Emoji

pfefferle avatar Dec 06 '24 21:12 pfefferle

https://github.com/Automattic/wordpress-activitypub/discussions/1744

Jiwoon-Kim avatar Jun 09 '25 05:06 Jiwoon-Kim

https://www.npmjs.com/package/markdown-it-emoji

  • https://misskey-hub.net/en/docs/for-admin/features/managing-emojis/
  • https://misskey-hub.net/en/tools/custom-emoji-preview/
  • https://misskey-hub.net/en/docs/for-users/features/custom-emoji/
  • https://docs.joinmastodon.org/methods/custom_emojis/
  • https://docs.joinmastodon.org/entities/CustomEmoji/

Jiwoon-Kim avatar Jul 17 '25 09:07 Jiwoon-Kim