honor email notifications setting
This commit is contained in:
@@ -277,6 +277,9 @@ func (s *serviceImpl) AcceptInvitation(ctx context.Context, networkID, email, hu
|
||||
continue
|
||||
}
|
||||
|
||||
if human.Email == "" || !human.EmailNotificationsEnabled {
|
||||
continue
|
||||
}
|
||||
emailRecipients = append(emailRecipients, human.Email)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user