diff options
Diffstat (limited to 'internal/processing/account')
| -rw-r--r-- | internal/processing/account/delete.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/processing/account/delete.go b/internal/processing/account/delete.go index 682da3681..f812909c5 100644 --- a/internal/processing/account/delete.go +++ b/internal/processing/account/delete.go @@ -478,6 +478,12 @@ func (p *Processor) deleteAccountPeripheral( err != nil && !errors.Is(err, db.ErrNoEntries) { log.Errorf("error deleting poll votes by account: %v", err) } + + // Delete all interaction requests from given account, local and remote. + if err := p.state.DB.DeleteInteractionRequestsByInteractingAccountID(ctx, account.ID); // nocollapse + err != nil && !errors.Is(err, db.ErrNoEntries) { + log.Errorf("error deleting interaction requests by account: %v", err) + } } // processSideEffect will process the given side effect details, |
