Actually it's logical to quarantine people with TB since it is airborne and easy to catch socially.
HIV/AIDs on the other hand is difficult to contract, unless you are sharing needles or having sex with an infected person.
TB can be cured. Those carrying HIV can't be cured and remain a reservoir of infection for life. Gays who know they are infected and engage in acts that can transmit the disease are committing an act of murder in slow motion. The matter of whether it is airborne or not is red herring if you have amoral individuals willing to spread it around to satisfy their own carnal lusts. The amoral carriers need to be taken out of circulation.