diff options
Diffstat (limited to 'service')
-rw-r--r-- | service/service.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/service/service.go b/service/service.go index 23685c4..b418921 100644 --- a/service/service.go +++ b/service/service.go @@ -560,6 +560,12 @@ func (svc *service) ServeUserPage(c *model.Client, id string, pageType string, return errInvalidArgument } + for i := range statuses { + if statuses[i].Reblog != nil { + statuses[i].Reblog.RetweetedByID = statuses[i].ID + } + } + commonData := svc.getCommonData(c, user.DisplayName) data := &renderer.UserData{ User: user, |