diff --git a/internal/gtsmodel/interactionpolicy.go b/internal/gtsmodel/interactionpolicy.go index 4fa5f4d8e..a7455a108 100644 --- a/internal/gtsmodel/interactionpolicy.go +++ b/internal/gtsmodel/interactionpolicy.go @@ -244,6 +244,12 @@ func (pr1 *PolicyRules) DifferentFrom(pr2 *PolicyRules) bool { return true } + // If they're both nil we don't + // need to check anything else. + if pr1 == nil && pr2 == nil { + return false + } + // Check if AutomaticApproval // differs between the two. if slices.Compare(