mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-09 14:42:59 +03:00
[PR #449] [MERGED] fix: profile picture empty for users without first or last name #801
Reference in New Issue
Block a user
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/pocket-id/pocket-id/pull/449
Author: @kmendell
Created: 4/16/2025
Status: ✅ Merged
Merged: 4/17/2025
Merged by: @stonith404
Base:
main← Head:fix/pfp-empty📝 Commits (1)
fe87889fix: profile picture empty for users without first or last name📊 Changes
1 file changed (+6 additions, -3 deletions)
View changed files
📝
backend/internal/model/user.go(+6 -3)📄 Description
Fixes: https://github.com/pocket-id/pocket-id/issues/428
If no first or last name is found it uses the first two letters of the username to create the profile picture.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.