[PR #449] [MERGED] fix: profile picture empty for users without first or last name #801

Closed
opened 2025-10-09 16:57:29 +03:00 by OVERLORD · 0 comments
Owner

📋 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: mainHead: fix/pfp-empty


📝 Commits (1)

  • fe87889 fix: 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.

## 📋 Pull Request Information **Original PR:** https://github.com/pocket-id/pocket-id/pull/449 **Author:** [@kmendell](https://github.com/kmendell) **Created:** 4/16/2025 **Status:** ✅ Merged **Merged:** 4/17/2025 **Merged by:** [@stonith404](https://github.com/stonith404) **Base:** `main` ← **Head:** `fix/pfp-empty` --- ### 📝 Commits (1) - [`fe87889`](https://github.com/pocket-id/pocket-id/commit/fe87889f5f7e0015ab02e620419ae7836130b749) fix: profile picture empty for users without first or last name ### 📊 Changes **1 file changed** (+6 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `backend/internal/model/user.go` (+6 -3) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2025-10-09 16:57:30 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id-pocket-id-2#801