mirror of
https://github.com/go-gitea/gitea
synced 2024-06-08 14:18:11 +02:00
default private
This commit is contained in:
parent
c65ab66e66
commit
0ec2f43b19
|
@ -465,7 +465,7 @@ func GetFeeds(ctx context.Context, opts GetFeedsOptions) (ActionList, int64, err
|
|||
}
|
||||
|
||||
isOrgMemberMap := make(map[int64]bool, 0)
|
||||
isPrivateForActor := false
|
||||
isPrivateForActor := true
|
||||
if opts.Actor != nil && opts.RequestedUser != nil {
|
||||
isPrivateForActor = !opts.Actor.IsAdmin && opts.Actor.ID != opts.RequestedUser.ID
|
||||
isOrgMemberMap, err = organization.IsOrganizationsMember(ctx, actions.GetOrgIDs(), opts.Actor.ID)
|
||||
|
|
Loading…
Reference in New Issue
Block a user