From 4e5ee2b67ac9c54ce2b0e05daf8b61a97cbe743b Mon Sep 17 00:00:00 2001 From: Ethan Koenig Date: Thu, 1 Jun 2017 20:42:25 -0400 Subject: Fix user profile activity feed (#1848) * Fix user profile activity feed * gofmt, and avoid overlapping database connections --- routers/user/profile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routers/user/profile.go') 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 } -- cgit v1.2.3