>>/19831/
XMPP. It's not p2p, but it's federated. If you want p2p you can set up your own server.
Not being p2p allows for way smaller resource consumption and offline messages.