delete all invites after the invite is accepted