mirror of
https://github.com/go-gitea/gitea
synced 2024-11-08 11:14:26 +00:00
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
parent
0e5126da22
commit
45c8a3aeeb
@ -74,7 +74,9 @@ func retrieveFeeds(ctx *context.Context, options models.GetFeedsOptions) {
|
||||
if act.ActUser != nil {
|
||||
userCache[act.ActUserID] = act.ActUser
|
||||
}
|
||||
}
|
||||
|
||||
for _, act := range actions {
|
||||
repoOwner, ok := userCache[act.Repo.OwnerID]
|
||||
if !ok {
|
||||
repoOwner, err = models.GetUserByID(act.Repo.OwnerID)
|
||||
|
Loading…
Reference in New Issue
Block a user