*/
public function sendInstantMailNotification(UserNotification $notification, User $user, IUserNotificationEvent $event) {
// no notifications for disabled or banned users
- if ($user->activationCode) return;
+ if (!$user->isEmailConfirmed()) return;
if ($user->banned) return;
// recipient's language