Well you could have saved those hours if you were on one of those restrictive OSs. I mean why would anyone even wanna do that? /s
Peer2peer connections are very difficult. Mainly because clients are behind a NAT which allows only connections from inside to outside. So when a client wants to connect to another client one connection comes from outside and is blocked. There is a "bug" called NAT holepunching to still connect but that's not a trivial task and doesn't work on all setups. I recently tried out webRTC for a multiplayer game but I still don't know what to do with people where that connection can't be established. SteamAPI has a P2P feature as well, and when they can't establish a p2p connection they just silently route the packets over their servers.
Just today I learned about Cinny which would make so much more sense to use for people who need the discord/slack experience but want to use matrix
That its producer has gone bancrupt they have absolutely lived the enshittyfication while doing the settings in their custom Android and I am currently on the last supported android version (12) which will probably go unsupported soon-ish and the company I got the phone from has sold so few that the definitely better alternatives (Lineage, etc) don’t have any reports of people who have done it with my device or even a tutorial. And reading into flashing it on an unsupported device is a rabbithole I currently don’t want to spend time with. And if I fuck up I can’t even write the company to fix it for me or smth like that…