From 45db167f7a80f777db403decf9532bc9a6c9d43e Mon Sep 17 00:00:00 2001 From: Florian Kaiser Date: Sat, 6 Feb 2016 07:52:21 +0000 Subject: Only show activities for repositories on dashboard, that the user has access to --- 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 0a876610..c1ebc3bf 100644 --- a/routers/user/profile.go +++ b/routers/user/profile.go @@ -86,7 +86,7 @@ func Profile(ctx *middleware.Context) { ctx.Data["TabName"] = tab switch tab { case "activity": - retrieveFeeds(ctx, u.Id, 0, true) + retrieveFeeds(ctx, -1, u.Id, 0, true) if ctx.Written() { return } -- cgit v1.2.3