1
0
mirror of https://codeberg.org/fediverse/fep.git synced 2026-08-05 03:35:52 +00:00
cc @silverpill

Reviewed-on: https://codeberg.org/fediverse/fep/pulls/704
Co-authored-by: Helge <helge.krueger@gmail.com>
Co-committed-by: Helge <helge.krueger@gmail.com>
This commit is contained in:
Helge
2025-10-18 19:20:26 +02:00
committed by silverpill
parent cd26766dca
commit 4be286e1eb
+1 -1
View File
@@ -124,7 +124,7 @@ In order to be compatible with as many servers as possible, implementations SHOU
- Name contains only characters from the `[a-zA-Z0-9_]` set ([Mastodon](https://github.com/mastodon/mastodon/blob/v4.3.7/app/models/custom_emoji.rb#L30)).
- Image media type is `image/png`, `image/gif` or `image/webp` ([Mastodon](https://github.com/mastodon/mastodon/blob/v4.3.7/app/models/custom_emoji.rb#L37)).
- Image size is not greater than 256 KB ([Mastodon](https://github.com/mastodon/mastodon/blob/v4.3.7/app/models/custom_emoji.rb#L27)).
- Image is a square (some clients may display non-squre emojis with a wrong aspect ratio).
- Image is a square (some clients may display non-square emojis with a wrong aspect ratio).
- Shortcode is placed between two characters that are not unicode alphanumerics, colons or line endings ([Mastodon](https://github.com/mastodon/mastodon/blob/v4.4.2/app/models/custom_emoji.rb#L32-L34), see also issue [#7364](https://github.com/mastodon/mastodon/issues/7364)).
## Implementations