From e41da3845d72e3adc7ae2cd3a02fc1f3943ebee6 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Mon, 28 Aug 2017 10:26:04 +0800 Subject: fix duplicated feed (#2370) --- routers/user/home.go | 1 - routers/user/profile.go | 1 - 2 files changed, 2 deletions(-) (limited to 'routers/user') 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() { -- cgit v1.2.3