mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-04 08:13:16 -06:00
update advancedVisibility settings
This commit is contained in:
parent
1ca0a16162
commit
5f322e0fac
13 changed files with 148 additions and 146 deletions
|
|
@ -46,7 +46,7 @@ func (p *processor) Boost(ctx context.Context, requestingAccount *gtsmodel.Accou
|
|||
if !visible {
|
||||
return nil, gtserror.NewErrorNotFound(errors.New("status is not visible"))
|
||||
}
|
||||
if !targetStatus.VisibilityAdvanced.Boostable {
|
||||
if !targetStatus.Boostable {
|
||||
return nil, gtserror.NewErrorForbidden(errors.New("status is not boostable"))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue