diff options
author | Ethan Koenig <etk39@cornell.edu> | 2017-06-01 20:42:25 -0400 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-06-02 08:42:25 +0800 |
commit | 4e5ee2b67ac9c54ce2b0e05daf8b61a97cbe743b (patch) | |
tree | 99bb3a3ab373b625cf4ae17f4d9b210d83c1cb9f /routers/user/profile.go | |
parent | 5ca6867aaf1d82f21a474d0c65041f21d7b416c3 (diff) | |
download | gitea-4e5ee2b67ac9c54ce2b0e05daf8b61a97cbe743b.tar.gz gitea-4e5ee2b67ac9c54ce2b0e05daf8b61a97cbe743b.zip |
Fix user profile activity feed (#1848)
* Fix user profile activity feed
* gofmt, and avoid overlapping database connections
Diffstat (limited to 'routers/user/profile.go')
-rw-r--r-- | routers/user/profile.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/user/profile.go b/routers/user/profile.go index eb862d6542..1768cec7b1 100644 --- a/routers/user/profile.go +++ b/routers/user/profile.go @@ -138,7 +138,7 @@ func Profile(ctx *context.Context) { ctx.Data["Keyword"] = keyword switch tab { case "activity": - retrieveFeeds(ctx, ctxUser, -1, 0, !showPrivate) + retrieveFeeds(ctx, ctxUser, showPrivate, true) if ctx.Written() { return } |