summaryrefslogtreecommitdiff
path: root/internal/processing/status/delete.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/status/delete.go')
-rw-r--r--internal/processing/status/delete.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/processing/status/delete.go b/internal/processing/status/delete.go
index 261086bdb..700909f44 100644
--- a/internal/processing/status/delete.go
+++ b/internal/processing/status/delete.go
@@ -51,12 +51,12 @@ func (p *Processor) Delete(ctx context.Context, requestingAccount *gtsmodel.Acco
}
// Process delete side effects.
- p.state.Workers.EnqueueClientAPI(ctx, messages.FromClientAPI{
+ p.state.Workers.Client.Queue.Push(&messages.FromClientAPI{
APObjectType: ap.ObjectNote,
APActivityType: ap.ActivityDelete,
GTSModel: targetStatus,
- OriginAccount: requestingAccount,
- TargetAccount: requestingAccount,
+ Origin: requestingAccount,
+ Target: requestingAccount,
})
return apiStatus, nil