The raw fact is that were the sides turned, you wouldn't be reading that news article in the first place. You wouldn't seriously think that Hamas would launch an investigation against their own members for sodomy now, would you?
Hamas has no plans to recognize Israel whatsoever, unless you're so naive to take their word for it. Their call for 1967 borders is basically a sorry excuse for establishing a violent attack front on both sides of Israel so that they can fight more efficiently.