stoat.chat
Stoat is an open-source group chat app for friends and communities, offering servers, channels, voice chat, file sharing and markdown support. It is available on Windows, macOS, Linux, Android, iOS and the web, with accounts and settings synced across devices. Group DMs support up to 50 members. The code is public and the project is described as free and open source.