diff --git a/ChangeLog b/ChangeLog index ed9311f25..7d75c68ff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2008-04-04 Badlop + * src/ejabberd_auth_ldap.erl (get_vh_registered_users_number): New + function that returns 0 registered users (EJAB-331). + * src/ejabberd_c2s.erl (process_presence_probe): Don't route a presence probe to oneself (EJAB-498) diff --git a/src/ejabberd_auth_ldap.erl b/src/ejabberd_auth_ldap.erl index d9f545034..fcb5b985f 100644 --- a/src/ejabberd_auth_ldap.erl +++ b/src/ejabberd_auth_ldap.erl @@ -48,6 +48,7 @@ try_register/3, dirty_get_registered_users/0, get_vh_registered_users/1, + get_vh_registered_users_number/1, get_password/2, get_password_s/2, is_user_exists/2, @@ -171,6 +172,9 @@ get_vh_registered_users(Server) -> Result -> Result end. +get_vh_registered_users_number(_Server) -> + 0. + get_password(_User, _Server) -> false.