Fix retweeted by id on user page

master
r 2 years ago
parent fdd9b8fd2b
commit 8fd0322439
  1. 6
      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,

Loading…
Cancel
Save