Well there's always Matterbridge. If you don't have complicated workflows to replicate (and even then) you can just replicate to XMPP, Nextcloud or whatever.