Do you think it possible it was both? Both groups have done major damage to the country.
Gays aren't known for mass murder sprees. Muslims are, and they also kill gays. So I'd say it's a twofer for the Muslims in this case. Not to mention the shooter actually said he was supporting ISIS, and while he was shooting, no less.