So, we both play using internet (xbox friends, not LAN). She had just bought minecraft when she couldn't join my worlds and wasn't able to see them in the friends tab, but I could join her's. When I hit "Invite player" it shows that she is online and I can invite her, but she doesn't receive the invite. But now I can't join her worlds either.
And yes I checked the multiplayer tab settings of the worlds. Yes I can join other servers.
Related issues
duplicates
Comments

Thank you for your report!
We're tracking this issue in MCPE-58759, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki