Add notification settings, account deletion, photo reporting, and pending-user photos
Addresses user bug reports: settings pages needed real notification preferences and account deletion, admin needed a way to flag a specific photo independent of deleting it, and the pending-approval users list needed to surface applicant photos for review. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -51,4 +51,14 @@ type UserProfile struct {
|
||||
BlockedAt *time.Time `json:"blocked_at,omitempty"`
|
||||
Bio *string `json:"bio,omitempty"`
|
||||
StreakCount int `json:"streak_count"`
|
||||
NotifyMatches bool `json:"notify_matches"`
|
||||
NotifyMessages bool `json:"notify_messages"`
|
||||
NotifyLikes bool `json:"notify_likes"`
|
||||
}
|
||||
|
||||
// UserProfileWithPhotos برای لیستهای ادمینی که علاوه بر خلاصهی پروفایل، عکس
|
||||
// کاربر رو هم نشون میدن (مثلاً کاربران در انتظار تایید).
|
||||
type UserProfileWithPhotos struct {
|
||||
UserProfile
|
||||
Photos []string `json:"photos"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user