diff options
Diffstat (limited to 'internal/processing')
-rw-r--r-- | internal/processing/account/delete.go | 4 |
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 |