Kanye West mocked Ray J during his album release concert Thursday -- about both of them having sex with Kim Kardashian -- but we've learned Kanye called Ray ahead of time to squash any beef.
In one of the tracks, Kanye rapped, "Me and Ray J would probably be friends if we wasn't in love with the same bitch ... you might have hit it first, but I'm rich, though."
The kinder, gentler Kanye must have realized Ray could have taken it badly and launched an attack, so Kim's hubby launched his preemptive strike.
We're told Kanye ran into Brandy and they talked face-to-face, he asked her to tell her brother he meant no harm or disrespect by the lyrics ...


