summaryrefslogtreecommitdiff
path: root/internal/processing
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing')
-rw-r--r--internal/processing/account/delete.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/processing/account/delete.go b/internal/processing/account/delete.go
index ca8647933..b06a7b960 100644
--- a/internal/processing/account/delete.go
+++ b/internal/processing/account/delete.go
@@ -157,6 +157,10 @@ func (p *processor) Delete(ctx context.Context, account *gtsmodel.Account, origi
break
}
+ if len(statuses) == 0 {
+ break // reached end
+ }
+
for _, status := range statuses {
// Ensure account is set
status.Account = account