Skip to content

Commit f85b8f9

Browse files
lunnylafriks
authored andcommitted
Fix cache problem on dashboard (go-gitea#9358)
1 parent 0e5126d commit f85b8f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

routers/user/home.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ func retrieveFeeds(ctx *context.Context, options models.GetFeedsOptions) {
7474
if act.ActUser != nil {
7575
userCache[act.ActUserID] = act.ActUser
7676
}
77+
}
7778

79+
for _, act := range actions {
7880
repoOwner, ok := userCache[act.Repo.OwnerID]
7981
if !ok {
8082
repoOwner, err = models.GetUserByID(act.Repo.OwnerID)

0 commit comments

Comments
 (0)