only show user's activities in profile

release/v0.9
Unknwon 9 years ago
parent bb1fbe4e70
commit 917d334ebd

@ -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

Loading…
Cancel
Save