summaryrefslogtreecommitdiffstats
path: root/routers/user
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2017-08-28 10:26:04 +0800
committerGitHub <noreply@github.com>2017-08-28 10:26:04 +0800
commite41da3845d72e3adc7ae2cd3a02fc1f3943ebee6 (patch)
treedd1f53ed3c56c6b96a9b2f66c530f95d4634bc68 /routers/user
parent0f2c98adcdfee02eda9f82a58f5c1aefe2a891a5 (diff)
downloadgitea-e41da3845d72e3adc7ae2cd3a02fc1f3943ebee6.tar.gz
gitea-e41da3845d72e3adc7ae2cd3a02fc1f3943ebee6.zip
fix duplicated feed (#2370)
Diffstat (limited to 'routers/user')
-rw-r--r--routers/user/home.go1
-rw-r--r--routers/user/profile.go1
2 files changed, 0 insertions, 2 deletions
diff --git a/routers/user/home.go b/routers/user/home.go
index 409465c0b4..c2c6a67018 100644
--- a/routers/user/home.go
+++ b/routers/user/home.go
@@ -156,7 +156,6 @@ func Dashboard(ctx *context.Context) {
retrieveFeeds(ctx, models.GetFeedsOptions{RequestedUser: ctxUser,
IncludePrivate: true,
OnlyPerformedBy: false,
- Collaborate: true,
IncludeDeleted: false,
})
if ctx.Written() {
diff --git a/routers/user/profile.go b/routers/user/profile.go
index 7380501f4b..23f5057727 100644
--- a/routers/user/profile.go
+++ b/routers/user/profile.go
@@ -141,7 +141,6 @@ func Profile(ctx *context.Context) {
retrieveFeeds(ctx, models.GetFeedsOptions{RequestedUser: ctxUser,
IncludePrivate: showPrivate,
OnlyPerformedBy: true,
- Collaborate: true,
IncludeDeleted: false,
})
if ctx.Written() {