Skip to content

feat: send each friend's avatar in the friend list - #355

Merged
grytchat merged 1 commit into
mainfrom
claude/GRYT-1998-friend-pictures
Nov 1, 2026
Merged

grytchat merged 1 commit into
mainfrom
claude/GRYT-1998-friend-pictures

Conversation

@grytchat

@grytchat grytchat commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

GRYT-1998. friend:list now includes avatarFileId for each person. Friends and requests on the phone's Messages tab showed an owl for anyone on another server with no DM.

This waits for you: it touches src/db/sqlite/friends.ts, a review-required path.

Look at: it adds u.avatar_file_id to the three friend queries. Members can already see each other's avatars, so nothing new is exposed to them, but a request from someone now also carries that person's avatar. The field is only added, so older clients ignore it.

Typecheck passes. There's no test for these queries and I didn't run it against a live server.

🤖 Generated with Claude Code

The phone's friends tab spans every server and showed an owl for anyone it had
no member list or DM for, while the DM showed their picture.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@grytchat
grytchat requested a review from sivert-io as a code owner November 1, 2026 12:01
@grytchat
grytchat merged commit e843db1 into main Nov 1, 2026
8 checks passed
@grytchat
grytchat deleted the claude/GRYT-1998-friend-pictures branch November 1, 2026 12:06
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.

2 participants