If you have to help him again, why don't you suggest that he take you out from coffee as thanks. Don't sound smug or anything, or that'd be a serious turn off.
And are you sure his very gay friend isn't his very gay BOYfriend?