Last-minute same-night deals was HotelTonight's entire business before they added all the other features like memberships and future bookings. That's where the name comes from.
I didn't mean they were the first to do deals but nobody cares about that anyway. Users only care if it works for them, and HT has one of the smoothest apps with some of the biggest discounts. When I started using HT years ago, I could book a room in less than a minute at a lower price than any other online source.
Anyways, as to the original point, they might have lost money on some deals but not all of them, and this is directly from private hotel owners I spoke with.