You can also use weechat as a bouncer, and it works even better with its own clients which can sync chat history rather than receiving it in a dump. The android client is fantastic in that respect.
The plugin ecosystem is also great. I have a plugin that pushes notifications for PMs and mentions to my gotify server, alerting me on my phone without having to drain its batteries staying connected.
Because they only offer open source apps they build themselves