Skip to content

Choosing a group picture replaced your own avatar (GRYT-1182) - #214

Merged
sivert-io merged 1 commit into
mainfrom
claude/GRYT-1182-group-picture-not-avatar
Sep 15, 2026
Merged

sivert-io merged 1 commit into
mainfrom
claude/GRYT-1182-group-picture-not-avatar

Conversation

@sivert-io

@sivert-io sivert-io commented Sep 15, 2026 •

Copy link
Copy Markdown
Member

Vikunja: GRYT-1182. Needs the server route from Gryt-chat/server#185. Client: Gryt-chat/client#561. Docs: Gryt-chat/docs#108.

The group dialog uploaded its picture through /api/uploads/avatar, the same as the desktop client. That route also made the picture your own avatar on that server. ServerScreen uses the new /api/uploads/group-icon route now, through connection/groupPicture.ts.

Older servers: if the new route answers 404, the app doesn't fall back to the avatar route, because that brings the bug back. The dialog shows "This server needs an update before groups can have their own picture." and the group keeps its drawn egg. No released server has the route yet, so merge this after the server release.

groupPicture.test.ts covers the route and header, a refusal passing on the server's message, and a 404 giving the update message without a second request to the avatar route.

I didn't run this one on a phone. The request is the same shape as before, only the path and the reply field changed, and the desktop client was checked end to end against the server branch. npx tsc --noEmit, yarn test and the comment check pass locally.

🤖 Generated with Claude Code

The group dialog's upload went through /api/uploads/avatar, which also
sets the picture as the uploader's avatar on that server. It uses the new
/api/uploads/group-icon route now.

A server without that route answers 404. The app doesn't retry on the
avatar route, since that would bring the bug back. It says the server
needs an update and the group keeps its drawn egg.

Co-Authored-By: Claude Opus 5 <[email protected]>
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