The newest beta version of the app makes it work for me with internal server: [JSXC] Nextcloud JavaScript XMPP Client - Configuring "internal" server for usage
You have to install it manually (downloading and extracting the zip file to nextcloud/apps folder) until it is marked as stable.