You're good friends - for now. That can change in an instant.
Code "ownership" doesn't matter if he can afford better lawyers than you.