diff options
Diffstat (limited to 'internal/db/interaction.go')
| -rw-r--r-- | internal/db/interaction.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/db/interaction.go b/internal/db/interaction.go index 4e58e1db3..4a6ec7e2e 100644 --- a/internal/db/interaction.go +++ b/internal/db/interaction.go @@ -47,6 +47,10 @@ type Interaction interface { // DeleteInteractionRequestByID deletes one request with the given ID. DeleteInteractionRequestByID(ctx context.Context, id string) error + // DeleteInteractionRequestsByInteractingAccountID deletes all requests + // originating from the given account ID. + DeleteInteractionRequestsByInteractingAccountID(ctx context.Context, accountID string) error + // GetInteractionsRequestsForAcct returns pending interactions targeting // the given (optional) account ID and the given (optional) status ID. // |
