Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ public function doWork(MessageInterface $message): void
if (!$user) {
throw new UnrecoverableMessageHandlingException('user not found');
}
$this->signupNotificationManager->sendNewSignupNotification($user);

if (!$user->isAccountDeleted() && !$user->isSoftDeleted() && null === $user->markedForDeletionAt) {
// only send notifications for new accounts if the account is not deleted,
// this is necessary because we create dummy accounts to block the username when an account is deleted
$this->signupNotificationManager->sendNewSignupNotification($user);
}
}
}