Skip to content

Tell the uploader when the worker refuses their avatar or banner (GRYT-1667) - #275

Merged
sivert-io merged 1 commit into
mainfrom
claude/GRYT-1667-tell-uploader-refused
Oct 5, 2026
Merged

sivert-io merged 1 commit into
mainfrom
claude/GRYT-1667-tell-uploader-refused

Conversation

@sivert-io

Copy link
Copy Markdown
Member

Since #274 a refused avatar or banner never applies, and the member keeps the old one. But the uploader wasn't told anything: their upload just never showed up.

  • When applyWhenSettled sees a refusal, it sends profile:media-refused { purpose, fileId } to every socket the uploader has open. The words are in the client (client PR alongside).
  • emitToMember() in socket/utils/server.ts does the sending, using the refs REST routes already use. A test covers that it reaches all of one member's sockets and nobody else's.

No database or auth changes.

🤖 Generated with Claude Code

@sivert-io
sivert-io merged commit a5277c4 into main Oct 5, 2026
6 checks passed
@sivert-io
sivert-io deleted the claude/GRYT-1667-tell-uploader-refused branch October 5, 2026 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant