[ejabberd] Make an IQ inside auth module

Anton Belyaev anton.belyaev at gmail.com
Thu Sep 23 19:01:21 MSD 2010

Hello all,

I am writing a custom auth module. The module is going to send an IQ
to a component to check if user password is valid.
So, I want do send an IQ from check_password(User, _Server, Password)
function in my auth module.

How do I send an IQ and receive its response right inside the function?
Is there a blocking (synchronous) function in ejabberd to make IQ requests?


More information about the ejabberd mailing list