summaryrefslogtreecommitdiff
path: root/internal/processing/status.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/status.go')
-rw-r--r--internal/processing/status.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/processing/status.go b/internal/processing/status.go
index 6848436d4..ab3843ded 100644
--- a/internal/processing/status.go
+++ b/internal/processing/status.go
@@ -40,6 +40,10 @@ func (p *processor) StatusBoost(authed *oauth.Auth, targetStatusID string) (*api
return p.statusProcessor.Boost(authed.Account, authed.Application, targetStatusID)
}
+func (p *processor) StatusUnboost(authed *oauth.Auth, targetStatusID string) (*apimodel.Status, gtserror.WithCode) {
+ return p.statusProcessor.Unboost(authed.Account, authed.Application, targetStatusID)
+}
+
func (p *processor) StatusBoostedBy(authed *oauth.Auth, targetStatusID string) ([]*apimodel.Account, gtserror.WithCode) {
return p.statusProcessor.BoostedBy(authed.Account, targetStatusID)
}