Synapse
Matrix reference homeserver
...Eventually-consistent cryptographically secure synchronization of room state across a global open network of federated servers and services. Send and receive extensible messages in a room with (optional) end-to-end encryption. Use 3rd Party IDs (3PIDs) such as email addresses, phone numbers, Facebook accounts to authenticate, identify and discover users on Matrix.