I'm playing with ad-hoc commands (xep-0050), but I'm unable to understand how to announce/publish and execute commands. I'm sending queries from one client to another, and the server answer in behalf of the responder (which never receives the request). So, I'm not sure if I understand correctly the xep, or if there is something different about the server.
The server responds in behalf of foo with an empty list:
<iq from="email@example.com" type="result" to="firstname.lastname@example.org/Psi" >
<query xmlns="http://jabber.org/protocol/disco#items" node="http://jabber.org/protocol/commands" />
So, I can't understand how can I attach some commands to
Can anyone help? (using ejabberd 1.1.4)