Browse Source

only show user's activities in profile

Unknwon 7 years ago
parent
commit
917d334ebd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      routers/user/home.go

+ 1 - 1
routers/user/home.go

@@ -353,7 +353,7 @@ func Profile(ctx *middleware.Context) {
 	ctx.Data["TabName"] = tab
 	switch tab {
 	case "activity":
-		actions, err := models.GetFeeds(u.Id, 0, false)
+		actions, err := models.GetFeeds(u.Id, 0, true)
 		if err != nil {
 			ctx.Handle(500, "GetFeeds", err)
 			return