Minor fix for #2567

This commit is contained in:
Unknwon 2016-02-14 20:07:42 -05:00
parent daa43cfb6e
commit a1d97e8f5c
8 changed files with 17 additions and 14 deletions

View file

@ -140,7 +140,7 @@ func Dashboard(ctx *middleware.Context) {
ctx.Data["MirrorCount"] = len(mirrors)
ctx.Data["Mirrors"] = mirrors
retrieveFeeds(ctx, ctx.User.Id, ctxUser.Id, 0, false)
retrieveFeeds(ctx, ctxUser.Id, ctx.User.Id, 0, false)
if ctx.Written() {
return
}

View file

@ -86,7 +86,7 @@ func Profile(ctx *middleware.Context) {
ctx.Data["TabName"] = tab
switch tab {
case "activity":
retrieveFeeds(ctx, -1, u.Id, 0, true)
retrieveFeeds(ctx, u.Id, -1, 0, true)
if ctx.Written() {
return
}