From cdb191bb48ec8aa251031f7de0f963dee00f3022 Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Thu, 11 May 2017 15:49:06 +0300 Subject: Rename is_user_exists -> user_exists --- src/mod_vcard_ldap.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mod_vcard_ldap.erl') diff --git a/src/mod_vcard_ldap.erl b/src/mod_vcard_ldap.erl index f97eb18a9..967a2c4cf 100644 --- a/src/mod_vcard_ldap.erl +++ b/src/mod_vcard_ldap.erl @@ -148,7 +148,7 @@ search_items(Entries, State) -> {U, UIDAttrFormat} -> case eldap_utils:get_user_part(U, UIDAttrFormat) of {ok, Username} -> - case ejabberd_auth:is_user_exists(Username, + case ejabberd_auth:user_exists(Username, LServer) of true -> RFields = lists:map( -- cgit v1.2.3