Hi,
I have custom messaging service on web app and I want to use prosody as xmpp server.
There is logic on the web app that is handling whole messaging system (users, messaging, message storage, etc).
I was able to implement custom auth module that uses and calls my api to verify user by email and password - I am struggling with how to efficiently send messages from my api back to prosody - so that people using my web app can communicate with xmpp clients and vice versa.
I looked into prosodyctl that communicates with prosody processes and is able to create / modify users.
but I am wondering - how to call prosody over cli to send message from some user to another user? I want be able to call message/bare and/or message/full events from different process.
Currently I am sending messages from my api over simple xmpp client - but this seems like overload for me and I wish to do it directly.
Please help if you have any details how to do this :) I would like to write article after my integration is complete so it can help everybody who wants to do the same thing with prosody.