> if you are running your own XMPP server, this shouldn't be a lot less "secure" than anything else on your XMPP server.
It will terminate the encryption on a device you (for most values of you) don't physically control. Thus it's less secure than end-to-end encryption.