Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
gwenneg committed Oct 29, 2023
1 parent ae0184d commit 81520fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ protected Set<User> getRecipientList(Event event, List<Endpoint> endpoints, Subs

Set<String> subscribers = Set.copyOf(emailSubscriptionRepository
.getSubscribersByEventType(event.getOrgId(), eventType.getId(), subscriptionType));
return recipientResolver.recipientUsers(event.getOrgId(), requests, subscribers, subscriptionType.isSubscribedByDefault());
return recipientResolver.recipientUsers(event.getOrgId(), requests, subscribers, !subscriptionType.isSubscribedByDefault());
}

/**
Expand Down

0 comments on commit 81520fd

Please sign in to comment.