mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5964
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3494
Author: @kolacheee
Created: 7/11/2026
Status: ✅ Merged
Merged: 7/11/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/3485-character-emoji-key📝 Commits (1)
ba693f0fix: store character gallery emojis under their scoped lookup key📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
packages/server/src/routes/generate/conversation-custom-assets.ts(+1 -1)📄 Description
Linked issue
Closes #3485
Why this change
Character-owned custom emoji reactions never resolve an image. The producer stored character gallery emojis under the bare
customName, while the only consumer (resolveCustomEmojiImageUrlinconversation-react-command-runtime.ts:106) looks them up under the scoped keybuildConversationCustomEmojiKey("character", characterId, name). The keys never match, so the character scope always misses and falls through. Persona and global emojis already use the scoped key on both sides and work.What changed
packages/server/src/routes/generate/conversation-custom-assets.ts: the character-gallery emoji writer now builds its map key withbuildConversationCustomEmojiKey("character", info.charId, name), the same helper the consumer uses (and the same pattern as the persona and global writers a few lines above). One line.Regression surface checked before changing anything:
conversationCustomEmojiUrlByNamehas exactly three writers (global, persona, character) and exactly one reader (the react-command lookup). No code iterates the map's keys, so no other consumer can observe the key-format change (verified repo-wide).ownEmojisByChar/emojiNames) are untouched.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Static verification done: producer and consumer now call the same key helper with the same scope and character id, and a repo-wide reference search confirms the map has no other readers or key iteration.
:name:in a Conversation chat, and confirm the reaction renders the image.Docs and release impact
UI evidence (if applicable)
N/A server-side lookup fix; before/after is "reaction shows no image" vs "reaction shows the gallery image" (can add a screenshot after the manual verify above).
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.