diff options
Diffstat (limited to 'internal/db/bundb/interaction.go')
-rw-r--r-- | internal/db/bundb/interaction.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/db/bundb/interaction.go b/internal/db/bundb/interaction.go index 88a044b6f..a04e97905 100644 --- a/internal/db/bundb/interaction.go +++ b/internal/db/bundb/interaction.go @@ -302,9 +302,9 @@ func (i *interactionDB) GetInteractionsRequestsForAcct( bun.Ident("interaction_request"), ). // Select only interaction requests that - // are neither accepted or rejected yet, - // ie., without an Accept or Reject URI. - Where("? IS NULL", bun.Ident("uri")) + // are neither accepted or rejected yet. + Where("? IS NULL", bun.Ident("accepted_at")). + Where("? IS NULL", bun.Ident("rejected_at")) // Select interactions targeting status. if statusID != "" { |