mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-30 06:38:37 -04:00 
			
		
		
		
	Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
		| @@ -74,7 +74,9 @@ func retrieveFeeds(ctx *context.Context, options models.GetFeedsOptions) { | |||||||
| 		if act.ActUser != nil { | 		if act.ActUser != nil { | ||||||
| 			userCache[act.ActUserID] = act.ActUser | 			userCache[act.ActUserID] = act.ActUser | ||||||
| 		} | 		} | ||||||
|  | 	} | ||||||
|  |  | ||||||
|  | 	for _, act := range actions { | ||||||
| 		repoOwner, ok := userCache[act.Repo.OwnerID] | 		repoOwner, ok := userCache[act.Repo.OwnerID] | ||||||
| 		if !ok { | 		if !ok { | ||||||
| 			repoOwner, err = models.GetUserByID(act.Repo.OwnerID) | 			repoOwner, err = models.GetUserByID(act.Repo.OwnerID) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user