23-year-old Yousef Palani, of Markievicz Heights in Sligo, has received two life sentences for the murders of Aidan Moffitt and Michael Snee in Sligo last year.
He also received a separate 20-year sentence for causing serious harm to Anthony Burke.
The court heard Mr. Palani used dating apps to target gay men living alone in the Sligo area.