diff --git a/mailjet.module b/mailjet.module index 8b401c7..1badb9c 100644 --- a/mailjet.module +++ b/mailjet.module @@ -432,7 +432,9 @@ function processCustomFields($user) * The User object. */ function mailjet_user_insert(User $user) { - mailjet_sync_single_user($user, 'add'); + if ($user->get('status')->value > 0) { + mailjet_sync_single_user($user, 'add'); + } }