mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-22 20:59:21 +02:00
Fix retweeted by id on user page
This commit is contained in:
parent
fdd9b8fd2b
commit
8fd0322439
|
@ -560,6 +560,12 @@ func (svc *service) ServeUserPage(c *model.Client, id string, pageType string,
|
||||||
return errInvalidArgument
|
return errInvalidArgument
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for i := range statuses {
|
||||||
|
if statuses[i].Reblog != nil {
|
||||||
|
statuses[i].Reblog.RetweetedByID = statuses[i].ID
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
commonData := svc.getCommonData(c, user.DisplayName)
|
commonData := svc.getCommonData(c, user.DisplayName)
|
||||||
data := &renderer.UserData{
|
data := &renderer.UserData{
|
||||||
User: user,
|
User: user,
|
||||||
|
|
Loading…
Reference in New Issue