mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-05 08:30:59 +00:00
[bugfix] Fix issue where the 'favourited' field of a notification's status is always false (#779)
This commit is contained in:
parent
47152c2706
commit
1f8ecf1c15
1 changed files with 1 additions and 1 deletions
|
@ -736,7 +736,7 @@ func (c *converter) NotificationToAPINotification(ctx context.Context, n *gtsmod
|
|||
}
|
||||
|
||||
var err error
|
||||
apiStatus, err = c.StatusToAPIStatus(ctx, n.Status, nil)
|
||||
apiStatus, err = c.StatusToAPIStatus(ctx, n.Status, n.TargetAccount)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("NotificationToapi: error converting status to api: %s", err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue