Help with relationship problems

I have a crush on my boyfriend's best friend. Me and my boyfriend have been dating for about three years now and we get on a group call with me, him, and his best friend every day. My boyfriend wanted to break up with me to be with someone else but then felt bad for me when i started crying. He also wanted to end his friendship with his best friend. After my boyfriend got off the phone, me and his friend were crying together. We kept talking for about an hour after that. I really like his friend now since he actually cares about my feelings. The only problem is that he lives on the other end of the state. What do I need to do?