Is it ok to message him this or will it come across as weird?

Slept with a colleague. Haven't spoken about it, but have spoken in work since and been completely fine. No contact out of work.
Today, as part of a conversation about a project, his boss mentioned to me that he's been working really hard on the project. When I left late today, he was still there. Is it ok to message him tomorrow at work saying, 'I saw you were working late last night, and I know that can be shit, so just to let you know your boss was speaking really highly of your hard work yesterday. You're doing really well!' (He's 28, and I'm 23, so I don't know if it'll come across as patronising)
Is it ok to message him this or will it come across as weird?
2
1
Add Opinion