         duration : 5000
 
 
-  handleInvitationRequest = (invitations, resendInvitations) =>
+  handleInvitationRequest = (invitations, resendInvitations) ->
 
     if resendInvitations?.size
       notifyPendingInvites resendInvitations, invitations
     else
-      sendInvitations invitations
+      sendInvitations invitations, alreadyMemberInvitations
 
 
   handleResendInvitations = (invitations) ->

        duration : 5000

    if adminInvitations.size
      notifyAdminInvites newInvitations, adminInvitations, resendInvitations
    else
      handleInvitationRequest newInvitations, resendInvitations


remote          = require('app/remote').getInstance()
AdminInviteModalView = require './admininvitemodalview'
ResendInvitationConfirmModal = require './resendinvitationconfirmmodal'
AlreadyMemberInvitationsModal = require './alreadymemberinvitationmodal'
isEmailValid = require 'app/util/isEmailValid'
{ actions : HomeActions } = require 'home/flux'

