summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--routers/user/home.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/user/home.go b/routers/user/home.go
index 426f15bfa7..ae5975a711 100644
--- a/routers/user/home.go
+++ b/routers/user/home.go
@@ -78,7 +78,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)