If your friend has linked their Steam/PSN account to their Epic account and you are friends on Epic, you will be able to see that they are online and will be able to join them in a game even if you are on two different platforms!