0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 08:14:12 +01:00

only show user's activities in profile

This commit is contained in:
Unknwon 2015-11-16 11:43:23 -05:00
parent bb1fbe4e70
commit 917d334ebd

View file

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