[ejabberd] registration_watchers not working?
badlop at gmail.com
Mon Dec 21 21:10:31 MSK 2015
I don't see that problem in my tests. I've tested with ejabberd 15.11.
There aren't relevant changes in mod_register.erl between your version
and the most recent.
Then I configured like this:
- "user1 at localhost"
- "user2 at localhost"
I login with clients to those accounts. user1 is admin, user2 is not admin.
When a new account is registered using In Band Registation, both users
receive a stanza like this:
<message from='localhost' to='user2 at localhost' type='chat'>
<body>[2015-12-21 19:01:52] The account user444 at localhost was registered from
IP address 127.0.0.1 on node ejabberd at localhost using mod_register.</body>
If you look at my steps, and you still have no clue what could be the
problem, you could add some debug lines to the source code, recompile
and test, this way you will get additional information about the
internals. Ask me for details if interested.
On 18 December 2015 at 09:44, Philip Frei <pjf at gmx.de> wrote:
> I use Debian's ejabberd 14.07. In the configuration I have different
> JIDs (accounts of the same virtual xmpp-server) that should be
> notfied for new account registration (registration_watchers).
> This never worked for me.
> Now I added a JID from another virtuall xmpp-server and this account
> gets the notifications. Is it possible that it only works for JIDs from
> other xmpp-server?
> regrads, Philip
> ejabberd mailing list
> ejabberd at jabber.ru
More information about the ejabberd