summaryrefslogtreecommitdiffstats
path: root/routers/user/profile.go
diff options
context:
space:
mode:
authorFlorian Kaiser <florian.kaiser@fnkr.net>2016-02-06 07:52:21 +0000
committerFlorian Kaiser <florian.kaiser@fnkr.net>2016-02-06 07:52:21 +0000
commit45db167f7a80f777db403decf9532bc9a6c9d43e (patch)
tree6950bbc21c8b607c4bfeb35754f5ce52d9fa0483 /routers/user/profile.go
parent90e9e3c89d01c58b68c71f47249a6190c04797a0 (diff)
downloadgitea-45db167f7a80f777db403decf9532bc9a6c9d43e.tar.gz
gitea-45db167f7a80f777db403decf9532bc9a6c9d43e.zip
Only show activities for repositories on dashboard, that the user has access to
Diffstat (limited to 'routers/user/profile.go')
-rw-r--r--routers/user/profile.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/user/profile.go b/routers/user/profile.go
index 0a876610ed..c1ebc3bf83 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
}