R7's emoji id is /grimaces/{shortcode}, the owner's name
The federated id of a local custom emoji (LocalEmojis.Path) was the plan's /emojis/{shortcode} awaiting the owner; it is
/grimaces/{shortcode}, in the style of the other routes, and freezes once it deploys.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WpVCoDeM1qUTRp4fXQdfof
This commit is contained in:
1 parent
9b792042e6
commit
048eb15bb7
9 files changed
+23
-25
No files matched your search
@@ -4,7 +4,7 @@ namespace PrivaPub.Models.Post
|
||||
{
|
||||
// One of this server's own custom emoji (completion program R7), added by an administrator
|
||||
// (/clientapi/admin/emoji, EmojiAdminController). Its shortcode is its name everywhere: `:shortcode:` in a post, and
|
||||
// its federated id (/emojis/{shortcode}, Domain/Content/LocalEmojis.Path), which is why it is never renamed. Its picture
|
||||
// its federated id (/grimaces/{shortcode}, Domain/Content/LocalEmojis.Path), which is why it is never renamed. Its picture
|
||||
// is a MediaAttachment nobody owns, held by ServerUse "emoji:<shortcode>" while the emoji exists. Deleted, the row stays
|
||||
// (DeletedAt) so its id answers 410; adding the same shortcode again brings the row back with a new picture.
|
||||
public class LocalEmoji : Entity
|
||||
|
||||
Reference in new issue
Block a user