diff --git a/pkg/controller/photo/user_gallery.go b/pkg/controller/photo/user_gallery.go index bdfc3b1..b9e3ef5 100644 --- a/pkg/controller/photo/user_gallery.go +++ b/pkg/controller/photo/user_gallery.go @@ -98,7 +98,7 @@ func UserPhotos() http.HandlerFunc { if isOwnPhotos || isGrantee || currentUser.HasAdminScope(config.ScopePhotoModerator) { visibility = append(visibility, models.PhotoPrivate) } - if models.AreFriends(user.ID, currentUser.ID) { + if isOwnPhotos || models.AreFriends(user.ID, currentUser.ID) { visibility = append(visibility, models.PhotoFriends) }